Build Failure: Microsoft.Silverlight.Common.targets (104): The Silverlight 4 SDK is not installed.

If you get this error trying to build your Silverlight application in TeamBuild: C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.Common.targets (104): The Silverlight 4 SDK is not installed, and you know that you have it installed on your build machine, don’t panic.  There is an easy solution to this: Go to your build definition, select the “Process” tab, and […]

Generating multiple versions of ClickOnce applications with Team Build

It is very common to have a need to run multiple versions of a ClickOnce application, each pointing to different environment (Dev, QA, Prod, etc).  There are plenty of resources on the web that show you how to do this manually (for example, this one:  Basically, you have to change the assembly name and […]

Team Build – Microsoft.Silverlight.CSharp.targets was not found

If you ever get this error in your Build machine while building a Silverlight application through TFS: “The imported project “C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets” was not found. Confirm that the path in the declaration is correct, and that the file exists on disk.” You need to install Silverlight 4 Tools for Visual Studio 2010 on your […]

TF270015: ‘MSTest.exe’ returned an unexpected exit code. Expected ‘0’; actual ‘1’

There is a problem in Team Build 2010 when executing Unit Test cases from a Visual Studio 2008 solution.  The test cases run, but when MSTest tries to publish the results to TFS, then you get this error: TF270015: ‘MSTest.exe’ returned an unexpected exit code. Expected ‘0’; actual ‘1’.  Not very informational, and pretty cryptic.  […]