TFS & Visual Studio ALM – by Neno Loje

(formerly Team System, VSTS)

Building Silverlight 4 apps with Team Build 2010

March 7th, 2011 · No Comments · Team Foundation Build (TF Build)

You need to install the Siverlight SDK on your build servers!... and run the 32-bit Build Tools on a 64-bit machine.

Error messages:

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 <Import> declaration is correct, and that the file exists on disk.

or

C:\Program Files (x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.Common.targets (104): The Silverlight 4 SDK is not installed.

Required Steps:

  1. Install Silverlight 4 SDK on Build Agents.
  2. In the Build Definition, change the MSBuild Platform from Auto to x86, as described here.

(Thanks to Jimmy Lewis, Martin Hinshelwood and Bart Wullems for their blog posts.)

Tags:

No Comments so far ↓

There are no comments yet...Kick things off by filling out the form below.

Leave a Comment