webnetweaver Posted August 1 Posted August 1 I am unable to build the C# Samples project because I am getting this and a bunch of other errors. Apologies if I'm doing something dumb, this is my first experience with C#. I downloaded the C# component samples demo. I clicked "Copy as project" to copy the files to a folder. I then used the solution file(csharp_component_samples.sln) to open the project in Visual Studio 2022. I havent made any other changes but the project won't build. It seems like there's a missing dll or something. How do I fix this so I can build the project?
arizmenda Posted August 2 Posted August 2 Hi! Try changing the binaries in VS to double precision. Something like this: Will that work? Thanks! 1
webnetweaver Posted August 2 Author Posted August 2 9 hours ago, arizmenda said: Hi! Try changing the binaries in VS to double precision. Something like this: Will that work? Thanks! Yes that fixed it. I can build now. Thanks! 1
webnetweaver Posted August 2 Author Posted August 2 After setting the Unigine build configuration to Debug-Double in the Unigine editor, I can make code changes, build, and run fine. One more question, I am getting intellisense and autocompletion fine in Visual Studio Community 2022, but not in VS Code. VS Code is still saying Type or Namespace "Unigine" could not be found. I know I have the SDK installed but it seems like I need to do the same thing for VS Code that I did for Visual Studio, setting the build configuration to Debug-Double. Is there a way to do this for VS Code? I'd prefer to use VS Code if I can but only if I can have intellisense working with it. I have C# Dev kit extension installed. How do I switch the default configuration in VS Code the same way I did for Visual Studio?
Kolnest Posted August 3 Posted August 3 @webnetweaver This is certainly not a solution to installing Debug-Double in VS Code, but you can copy those samples into the project with float precision 1
Recommended Posts