Troubleshooting Team Foundation Build Tests
The following sections describe common troubleshooting scenarios you may experience when configuring Team Foundation Build tests.
When you run static analysis with Team Foundation Build, one or both of the following errors may be recorded in the log file:
In order to perform Code Analysis on managed binaries, MSBuild must start FxCop. MSBuild cannot locate the FxCop binaries. Make sure Visual Studio Team System Development Edition or Visual Studio Team System Team Foundation Server is installed and run MSBuild from the "Visual Studio Command Prompt" or specify the path of FxCop by setting the FXCOPDIR environment variable."
MSBUILD : warning : Visual Studio Team System Test Edition or Visual Studio Team System Development Edition is required to run tests as part of a Team Foundation Build.
The previous error was converted to a warning because the task was called by using ContinueOnError=true.
Build continuing because "ContinueOnError" on the task "TestToolsTask" is set to "true".
Done building target "RunTestWithConfiguration" in project "TFSBuild.proj".
Install Visual Studio Team System Development Edition to run unit tests, static analysis tools, or code coverage. If you must also include Web and load tests, then install Visual Studio Team System Test Edition instead.