MS test does not load C ++ CLI assemblies

I have a C # based assembly with class A for which I want to create some unit tests using MS Test in VS 2010. This assembly has a link to a CLI based assembly in C ++, and class A above calls the managed class in CLI assembly. When I try to reproduce the test, I get the following error: System.IO.FileNotFoundException: Failed to load file or assembly "XXX" or one of its dependencies. The specified module was not found.

unit test is inside a C # test project, and element deployment is not enabled.

All projects are configured to have a common output path, and I checked that all the assemblies are there.

+3
source share
1 answer
  • COM-, , regsvr32

  • , . ( ++/CLI , , dll)

+2

All Articles