How do I get unit tests to run on a x64 platform

前端 未结 6 727
自闭症患者
自闭症患者 2020-12-14 14:20

I have a C# application that must run in x64 mode. The problem is I try to create unit tests that run methods in the x64 application and the unit test project won\'t even b

6条回答
  •  Happy的楠姐
    2020-12-14 14:42

    I had a similar issue. There is a strange issue in Visual Studio 2010 (under x64), which causes the target CPU to be changed when you add a new project to the existing solution. Are you sure that all references and CPU targets are x64?

提交回复
热议问题