• How-to: Fix the ‘The “ValidateXAML” task failed unexpectedly’ error after installing Microsoft Silverlight Tools Beta 2

    Published by Ezequiel Jadib on July 10th, 2008 12:23 am under Silverlight, Silverlight 2 Beta 2, Visual Studio 2008

    4 Comments

    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:

    image

    After spend some time searching for some clues, I found the following solution:

    1. Open the Visual Studio 2008 Command Prompt.
    2. 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.
    3. 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
    4. 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.

    Tags: , ,

  • 4 Comments:

    1. Ezequiel Jadib said on July 10, 2008:

      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…

    2. SilverMan said on July 20, 2008:

      Yep, I tried and although it said “Operation no completed”, it still worked.

    3. Simon Matthews said on December 1, 2008:

      Thanks, this fixed my issue… I’m using Visual Web Developer 2008 Express Edition so I just substituted “VWDExpress” for “devenv”.

    4. Nikola Malovic said on December 3, 2008:

      Thank you soo much!

    Leave a comment

    Your email address will not be published.



Map

Categories

ClientDev Tweets

Southworks Tweets