mardi 1 mars 2016

How do I configure target framework for VSTest 2015 to run a unit test built to use .net 4.6.1?

I'm attempting to configure TeamCity to run my unit tests using VSTest.console.exe for Visual Studio 2015.

The only options that appear valid for the test runner are:

<!-- Framework35 | [Framework40] | Framework45 -->

When I set it to Framework45, it tells me:

[18:56:38][Step 2/2] Error: None of the provided test containers match the Platform Architecture and .Net Framework settings for the test run. Platform: X86 .Net Framework: Framework45. Go to http://ift.tt/1ogru59 for more details on managing these settings.

When I set it to Framework46, it tells me:

[Step 2/2] Error: An error occurred while loading the settings. Error: Invalid setting 'RunConfiguration'. Invalid value 'Framework46' specified for 'TargetFrameworkVersion'..

Is this even supposed to work with 4.6.1?

Aucun commentaire:

Enregistrer un commentaire