How-to: Fix the ‘The “ValidateXAML” task failed unexpectedly’ error after installing Microsoft Silverlight Tools Beta 2
Last week I’ve installed Microsoft Silverlight Tools 2 Beta 2 on my laptop to start developing applications for Silverlight 2 Beta 2.
Once the installation finish, I created a Silverlight Application just to see if everything works as expected. The application was successfully created but when I tried to build and run the solution, I faced with the following error:
After spend some time searching for some clues, I found the following solution:
- Open the Visual Studio 2008 Command Prompt.
- Execute devenv /ResetSkipPkgs in the command prompt.
This switch clears all options to skip loading added to VSPackages by users wishing to avoid loading problem VSPackages. This switch also starts Visual Studio. - Close Visual Studio and then execute devenv /Setup in the command prompt.
This switch forces Visual Studio to merge the resource metadata that describes menus, toolbars, and command groups from all VSPackages available - Open Visual Studio and have fun.
For more information about the Devenv Command Line Switches, see Devenv Command Line Switches on MSDN.
Hope this helps.
How-to: Fix the ‘The “ValidateXAML” task failed unexpectedly’ error after installing Microsoft Silverlight Tools Beta 2…
Last week I’ve installed Microsoft Silverlight Tools 2 Beta 2 on my laptop to start developing applications…
Yep, I tried and although it said “Operation no completed”, it still worked.
Thanks, this fixed my issue… I’m using Visual Web Developer 2008 Express Edition so I just substituted “VWDExpress” for “devenv”.
Thank you soo much!