You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been looking into your project and trying to build your CS_CPP_Interop example project.
Using the template, while I am able to build through the command line on linux/wsl to get linux executables, it breaks building through Visual Studio. I get one of 3 errors in visual studio:
Is your PATH and ENV variables correct? Command to run was g++ -fmax-errors=1000 -I "..\DynamicLib" -I "..\StaticLib" -DUNIX -D_DEBUG -D_CONSOLE -Wall -Wno-comment -Wno-parentheses -Wno-missing-braces -Wno-write-strings -Wno-unknown-pragmas -Wno-attributes -fpermissive -x c++ -g2 -gdwarf-2 -m64 -w -MM stdafx.cpp.
error MSB4057: The target "Build" does not exist in the project
Sequence contains no elements
Once I try to build through visual studio, it then breaks building through the command line causing both methods to fail after this.
As a result, I have a few questions I'm hoping you can answer,
Is this project supported in Visual Studio 2022?
I want to use this template to build a linux executable for my C# and CPP interop solution both through visual studio and the linux command line. Is this functionality supported?
For the PATH or ENV variable error, is there something specific that the variable should point to? I haven't found any mention of how to configure the PATH/ENV variable.
Is this project still actively maintained?
I'm looking forward to your response.
The text was updated successfully, but these errors were encountered:
I've been looking into your project and trying to build your CS_CPP_Interop example project.
Using the template, while I am able to build through the command line on linux/wsl to get linux executables, it breaks building through Visual Studio. I get one of 3 errors in visual studio:
Once I try to build through visual studio, it then breaks building through the command line causing both methods to fail after this.
I have also followed the steps outlined in your blog post here: https://medium.com/@roozbehid/c-c-net-core-cross-platform-cross-compiler-development-5abc0b8dd4cc but I get the same errors outlined above.
As a result, I have a few questions I'm hoping you can answer,
I'm looking forward to your response.
The text was updated successfully, but these errors were encountered: