Beware of installing Silverlight Dev tools

My love with tech continues, though it keep shifting its level. But then it never went down to be called as non existent.
There is a new found love wave flowing through my body these days, for Silverlight obviously (the title of the post should have indicated this :) ).
To be able to create Silverlight project the following should be installed on your machine:

Microsoft® Silverlight™ 2 Tools for Visual Studio 2008 SP1

So lets come to the topic quickly, "Beware of installing Silverlight Dev tools".
This post is to make my sibling developers aware of below error that comes after installing the above Silverlight Tools.
Microsoft Visual Studio
Package Load Failure

Package 'Microsoft.VisualStudio.Xaml' has failed to load properly ( GUID = {E58C2A8B-BCC4-4559-AD59-D62EB6D58A22} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading.
Yes No

This error basically is a result of following:
1) Accidentally deleting / corrupting the Microsoft.VisualStudio.Xaml.dll file
2) You are in the possesion of an illegal copy of Visual Studio

The simple way of getting rid of this error is:
1. Either to purchase a legitimate VS :)
2. Or run the repair wizard of VS
3. Or copy the Microsoft.VisualStudio.Xaml Dll to your GAC.

In case you have already clicked on 'Yes' button in the error window( which would set the settings to skip the loading of XAML) and do not want to run the VS repair wizard, then you would have to reset the VS development environment settings. fo this please follow these steps:
1. Open up the Visual Studio command prompt, from Start->All Programs->VS2008->VS Tool->VS command Prompt.
2. Now run following command :
devenv /ResetSettings

This should set you up to dive in to the the world of lightning silver 'Silverlight'.

Happy Coding :)


Popular posts from this blog

दावत ऐ दर्द

Finally she left

नया उत्साह, नयी उमंग