how to configure 3rd party .obj and .lib files in the C# project(.csproj) to build and link using the MSBUILD
I have a C# project file which contain all the files(.cs files) it required to build the application. But, we need to link with a 3rd party .obj and .lib file during the build.
Visual Studio MSBuild Error MSB8066: Custom build
I have a Visual Studio solution with a project that generate a cpp and a hpp file.
An other project have to compile these generated files, so I add the cpp file as a “Custom Build” target and the hpp file is “Excluded From Build” (I put it in the solution just to be able to view it).