Manish
Manish

Reputation: 6286

Error: The project type is not supported by this installation

I'm trying to open a silverlight project in Visual Studio 2008 and getting this error.

The project type is not supported by this installation.

Let me tell you I did installed:

  1. VS2008
  2. SP1
  3. Silverlight Tools 3
  4. Silverlight SDK
  5. Silverlight

And they were installed in the sequence they are mentioned here. Still I'm getting the same error.

Adding some more details which might be helpful in identifying the cause: When I try to create a new silverlight project it gives me error "Object reference not set to an instance of an object". And shows "...project creation failed."

I tried unistalling all of the things and installing them again. It really took a lot of time but didn't solved my problem.

Any help appreciated.

Upvotes: 5

Views: 9685

Answers (4)

chridam
chridam

Reputation: 103335

Open the project.csproj file with another editor, delete whatever you find between

<ProjectTypeGuids></ProjectTypeGuids>

Upvotes: 9

rob
rob

Reputation: 39

run devenv /setup

Upvotes: -1

Earlz
Earlz

Reputation: 63815

Do you know who the silverlight project was created by? If so, then contact them and ask them if they used VS 2008 or if they used VS 2010 beta 1/2 (VS 2010 has a lot more and better support for silverlight so it's probable)

If they used VS 2010, then just go to the microsoft website and download you a copy... it's free(right now)

(and if you'll be doing much silverlight development, I'd recommend downloading it anyway. It has code completion for XAML!)

Upvotes: 0

Town
Town

Reputation: 14906

I've had the same error when I tried to open a solution which required VB.NET, despite everything (to my knowledge) being C#.

If you've done a full install of VS then try this solution: http://andrewgunn.blogspot.com/2008/03/silverlight-project-type-is-not.html

Let us know how it goes.

Upvotes: 1

Related Questions