A New Internet Library: Add Your Website/Blog or Suggest A Website/Blog to our Free Web Directory http://anil.myfunda.net.

Its very simple, free and SEO Friendly.
Submit Now....

Wednesday, November 19, 2008

Silverlight 2, Visual Studio 2008 - "Object reference not set an instance of an object error"

After installing the latest SL 2 bits as well as the SL 2 Templates for Visual Studio 2008, when you create a new Silverlight Application, you might receive the error "object reference not set an instance of an object".  You might also receive the error "This type of project is not supported in this installtion" error.

This can happen basically if you have the SL 2 Beta 2 templates for VS 2008 or the Beta 1 templates.  In my case I removed the Beta 2 bits but I still received the error while trying to create a new Silvelright Application.

The resolution for that was to run the devenv /resetskippkgs from the command prompt.

Brad has an excellent post covering the common errors you might encounter when creating a Silverlight project using Visual Studio 2008.  Though most of them are refering to the SL 2 Beta 2 bits, they hold good for the RTM Bits as well.

Cheers !!!



Source Click Here.

No comments:

Post a Comment

Post your comments here:

Originals Enjoy