Home  /  Questions  /  Question



50   50
Jul 21, 2010


Silverlight Patterns 4.0 Project does not load

The new Silverlight Patterns 4.0 Project does not load correctly. The last 3 projects do not load in the solution. See below :

Silverlight Patterns 4.0 Project does not load

C:\Users\Tony\Documents\DoFactory Patterns 4.0 CS\Silverlight Patterns\Silverlight Patterns in Action\Silverlight Patterns in Action.csproj : error : Unable to read the project file 'Silverlight Patterns in Action.csproj'.

C:\Users\Tony\Documents\DoFactory Patterns 4.0 CS\Silverlight Patterns\Silverlight Patterns in Action\Silverlight Patterns in Action.csproj(234,3): 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.

C:\Users\Tony\Documents\DoFactory Patterns 4.0 CS\Silverlight Patterns\Silverlight Charts\Silverlight Charts.csproj : error : Unable to read the project file 'Silverlight Charts.csproj'.

C:\Users\Tony\Documents\DoFactory Patterns 4.0 CS\Silverlight Patterns\Silverlight Charts\Silverlight Charts.csproj(108,3): 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.

C:\Users\Tony\Documents\DoFactory Patterns 4.0 CS\Silverlight Patterns\Silverlight Contracts\Silverlight Contracts.csproj : error : Unable to read the project file 'Silverlight Contracts.csproj'.

C:\Users\Tony\Documents\DoFactory Patterns 4.0 CS\Silverlight Patterns\Silverlight Contracts\Silverlight Contracts.csproj(65,3): 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.

 




830   99.9
Jul 21, 2010
Anthony:

To enable the Silverlight Patterns application you must have the Silverlight 4 Tools for Visual Studio installed (download from Microsoft) and the Silverlight 4 Toolkit (download from Codeplex).  All are freely available.

It is also mentioned in our 'Getting Started' documentation as well as in the 'Silverlight Patterns' documentation.
Hope this helps.

Dan.