wrong mstest.exe on the build server

前端 未结 1 1311
长情又很酷
长情又很酷 2021-01-22 16:03

How do i use the correct Mstest.exe in the Build?

My configuration:

  • TFS2012
  • VS2010

Then I installed :

  • VS2012
相关标签:
1条回答
  • 2021-01-22 16:30

    I edited the Build File where you can specify the path for mstest in a parameter, I called it MStestFolder.

    The folder property

    <x:Members>
        <x:Property Name="MStestFolder" Type="InArgument(x:String)" />
    </x:Members>
    

    3 times i had to specify the toolpath for mstest

    Mstest tag

    <mtbwa:MSTest .... ToolPath="[MStestFolder]" .../>
    

    In the Build you have to specify the MStestFolder in the Misc tab :)

    0 讨论(0)
提交回复
热议问题