[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 445
  • Last Modified:

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

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.
0
Shandrix
Asked:
Shandrix
  • 2
  • 2
1 Solution
 
Bob LearnedCommented:
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
0
 
ShandrixAuthor Commented:
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?
0
 
Bob LearnedCommented:
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
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=b3deb194-ca86-4fb6-a716-b67c2604a139&displaylang=en
0
 
ShandrixAuthor Commented:
Thank you. That seems to have addressed the problem.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now