针对x64项目的VS2010测试项目:“无法加载测试容器”

时间:2014-04-13 08:35:29

标签: visual-studio-2010 unit-testing vs-unit-testing-framework

我创建了一个C ++测试项目,该项目引用了其他项目&得到错误:

"Unable to load the test container ... or one of its dependencies. If you build your test project assembly as a 64 bit assembly, it cannot be loaded. When you build your test project assembly, select "Any CPU" for the platform. To run your tests in 64 bit mode on a 64 bit processor, you must change your test settings in the Hosts tab to run your tests in a 32 bit process." 

我设置"在64位进程中运行测试"在测试设置中。我尝试将测试项目构建为x64和混合平台(任何CPU仅适用于.NET),检查项目本身的依赖关系(第三方是x64)。但总是一样的错误。这是可能的吗?我错过了什么?

谢谢

0 个答案:

没有答案