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 build machine.

Scroll to Top