Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Referencing and using Managed C++ binaries in C#

$
0
0

Hello All,

I have a managed C++ dll built in DotNet 3.5 and my C Sharp application needs to call functions from it. The managed C++ dll internally uses unmanaged C++ dlls. While I am trying to use use the Managed C++ dll from a C sharp App built in DotNet 4/4.5, it is not able to load the dll because of assembly built DotNet version mismatch. Is this expected?

Another observation is that, when I try to test with a Visual Studio test project which is in DotNet 4.5 an able to use it.

Thanks,

Sujith


Viewing all articles
Browse latest Browse all 1710

Trending Articles