The build cannot be assigned to the test plan

One of the customer reported a problem saying that whenever he is trying to assign a build to the test plan in MTM, the assignment fails with error “Build XXX cannot be found”.  On investigations, Nipun from the team found that it was failing because the customer was not using the default permissions and the…

0

BuildShadowTask fails with error C:Program Files (x86)MSBuildMicrosoftVisualStudiov10.0TeamTestMicrosoft.TeamTest.targets (14): Object reference not set to an instance of an object.

I have seen customers running into this problem once in a while where they mention that their build is failing intermittently with the following error. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v10.0\TeamTest\Microsoft.TeamTest.targets (14): Object reference not set to an instance of an object. Here is what I typically suggest to those customers. This error is observed during the compilation…

1

How to enable build agent or build controller’s logs?

Here are the steps which I typically perform to enable build agent/controller logs. 1. Go to the build agent/controller installation directory (typically it is something like C:\Program Files\Microsoft Team Foundation Server 2010\Tools). 2. Create a new configuration file named TFSBuildServiceHost.exe.config with the following content: <configuration>    <system.diagnostics>        <switches>            <add name=”BuildServiceTraceLevel” value=”4″/>        </switches>        <trace autoflush=”true” indentsize=”4″>            <listeners>               …

5