When defining a build in visual studio, you can set up automated tests to run as part of a build. One of the options for an automated test run is the 'Target platform for test execution', as shown below, which allows you to specify the default processor architecture to use when running the tests similar to how you can set this when running tests locally.
I am trying to convert a build into the new vNext build system on TFS 2015 and replicate an automated test run using the 'Visual Studio Test' build step. For most things it is relatively simple to duplicate the settings, but there doesn't seem to be anyway to set this option, the result of which is as if this was set to X84 instead of X64 in a XAML based build definition.
The old build definition runs two sets of unit tests, one which has to run with the processor architecture set to X64 for all tests to pass, while the other requires the architecture to be X84 for all its tests to pass but in the old system this was not a problem as it could be forced either way. Is there any way to specify the target architecture in the 'Visual Studio Test' build step that anyone know of?