I have a c++ static library, which I want to use in c#. What I tried was to use c++/Cli. The Problem is, that I get
"mismatch detection Errors for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug'" because the library is using MTd as runtime library.
The Problem is, that I can't change the runtime Library to MTd, because clr does not support it.
Is there any Workaround, or what would be a different approach to create a wrapper, which I can use c#.
Thank you all for your help.