4

In my solution I have one unit test project explicitly targeting x86 platform and one unit test project explicitly targeting x64 platform. To get Visual Studio 2012 to find and run my unit tests, I have to setup the default processor architecture for unit testing via

Test->Test Settings->Default Processor Architecture

like stated in this answer: https://stackoverflow.com/a/16116817/1814576

The problem is, when I do that for my x86 tests, Visual Studio does not find my x64 tests and vice versa. The tests even don't run, when trying to start them directly via right click->Run Tests from source code.

Is there a way to setup the testing framework so that both my x86 and my x64 tests are found and run?

Community
  • 1
  • 1
Markus Ende
  • 731
  • 8
  • 21

1 Answers1

0

You'ge going to want to set your build to Mixed Platform

enter image description here

Anthony Russell
  • 9,445
  • 10
  • 53
  • 102