C# toolchain under Linux
in my spare time I am trying to learn how to generate custom functionality with Bricscad v22 under Linux using C#, since I see myself incapable of learning Brx syntax. My developing background is irregular so the question might be to nooby for some to answer. As I keep telling my children, that there are no stupid questions, so I pose mine as follows.
1#On Ubuntu the Bricscad installation resides under
2#SDK has been uncompressed to
.profile has been extended with
export BRX22_SDK_PATH="/opt/bricsys/BRXSDK_Bcad_V22_1_04" export BRX_PATH="/opt/bricsys/BRXSDK_Bcad_V22_1_04"
4#Compiler is installed via
apt-get install dotnet-sdk-5.0
5#Trying to compile
dotnet msbuild /t:Build /p:Configuration=Release does not work out of the box
6#A fresh project is set up using
dotnet new console --framework net5.0
7#It compiles smoothly using
dotnet msbuild /t:Build /p:Configuration=Release
8#The sample from 5# contains reference includes for
TD_Mgd, which I am unable to resemble in the
csproj file. I undergo the assumption that the dynamic library should reside in 1#, but I cannot find it. Variations of below syntax do not work.
<ItemGroup> <Reference Include="BrxMgd"> <HintPath>/opt/bricsys/bricscad/v22/libbrx22.so</HintPath> <Private>False</Private> </Reference> </ItemGroup>
Any hints are appreciated, even if it's the that C# + Bricscad + Linux might not be possible.