Tuesday, April 7, 2009

Can not create or open silverlight 2 projects "Object reference not set to a instance of an object"

Problems:When you create a new silverlight project you get a message "Object reference not set to a instance of an object"When you try to load existing project it tells that visual studio can not open this type of project.

Solution:
(a) Open the command prompt and go to the folder C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE


(b) type devenv /resetskippkgs

close the Visual Studio Window that will open after completion of previous command.

(c) type devenv /setup

(d) After the execution of previous command is complete open Visual Studio.


Cheers!!!