Why can't I create a new Blend 4 project?

Posted on 2011-05-05
Last Modified: 2013-11-26
When I try to create a new Blend 4 Silverlight Application + Website project, it gives me the following error:

The project 'Calculator.csproj' could not be opened. 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:\Microsoft Studio Classes\Calculator\Calculator\Calculator.csproj

I verified that the Silverlight SDK is installed.
Question by:Shandrix
    LVL 96

    Expert Comment

    by:Bob Learned
    Let's start with the obvious question first:

    If this file exists, are all the dependencies installed, too?

          C:\Program Files(x86)\MSBuild\Microsoft\Silverlight\v4.0\Microsoft.Silverlight.CSharp.targets

    Author Comment

    The file does not exist. I did a search on the drive and it doesn't find it anywhere. I installed the April 2010 build of the Silverlight SDK but I guess it didn't put that file there. Is there something else I am supposed to install, or some setting I may have set wrong during the install?
    LVL 96

    Accepted Solution

    I read "and that the file exists on disk" wrong...that was the error reported.

    Did you try installing the .NET 2010 Tools?

    Microsoft Silverlight 4 Tools for Visual Studio 2010

    Author Closing Comment

    Thank you. That seems to have addressed the problem.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    Join & Write a Comment

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now