+ 1
Can object files be added to a Visual Studio project for linking?
I need to link two object files (one compiled c file and one assembled assembly file) with my current Visual Studio C# WPF App project. How should I do this? Is there a way to specify additional object files in Visual Studio that will link whenever the project is built?
1 Resposta
+ 1
I think you need to put the C code in a dll
And import the dll in c# with "Add reference"
https://www.codeproject.com/Articles/9826/How-to-create-a-DLL-library-in-C-and-then-use-it-w