My configuration:
- VS2010 solution
- TFS 2008
- Build server - TFS 2008
- Build server also has VS2008 Team Suite and VS2010 ultimate installed
TFS 2008 builds my VS2010 solution properly. But when it comes time to run the unit tests I get the following MsTest error.
Using "TestToolsTask" task from assembly "D:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\Microsoft.VisualStudio.QualityTools.MSBuildTasks.dll". Task "TestToolsTask" Command:
d:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe /nologo /searchpathroot:"D:\Builds\App\Source\86\Binaries" /resultsfileroot:"D:\Builds\App\Source\86\TestResults" /testcontainer:"D:\Builds\App\Source\86\Binaries\\Tests.dll" /publish:"http://tfsServer:8080/" /publishbuild:"vstfs:///Build/Build/26029" /teamproject:"Proposal" The "TestToolsTask" task is using "MSTest.exe" from "d:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\MSTest.exe". No platform specified for publish operation. For switch syntax, type "MSTest /help" MSBUILD : warning MSB6006: "MSTest.exe" exited with code 1. [D:\Builds\App\Source\86\BuildType\TFSBuild.proj] The previous error was converted to a warning because the task was called with ContinueOnError=true. Build continuing because "ContinueOnError" on the task "TestToolsTask" is set to "true". Done executing task "TestToolsTask" -- FAILED.
I am not sure what is causing MsTest to fail.
Things tried: - Provided write access to the build folder to the service account that builds the source on the build machine