• Upgrade your Internet Experience
  • Sign in
  • Microsoft.com
  • United States (English)
    Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Italia (Italiano)Россия (Русский)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語)香港特别行政區 (中文)
 
 
Visual Studio Developer Center
 
 
Home
 
 
Library
 
 
Learn
 
 
Download
 
 
Support
 
 
Community
 
 
Forums
 
 
 
Visual Studio Developer Center > Visual Studio Forums > Visual Studio Setup and Installation > Xaml Editor, Class Explorer Crashes after Visual Studio 2008 SP1
Ask a questionAsk a question
Search Forums:
  • Search Visual Studio Setup and Installation Forum Search Visual Studio Setup and Installation Forum
  • Search All Visual Studio Forums Search All Visual Studio Forums
  • Search All MSDN Forums Search All MSDN Forums
 

AnswerXaml Editor, Class Explorer Crashes after Visual Studio 2008 SP1

  • Friday, August 15, 2008 2:00 AMNick McCready Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    Please Read the following post. I started this post because my problem is not solved and it seems my problems with VS 2008 SP1 are just getting worse.

    Along with opening XAML files now my Class Explorer crashed Visual Studio 2008 SP1 with no warning or exceptions.

    Below is where I began.
    Xaml Editor Crashes after Visual Studio 2008 SP1

    Currently I am reinstalling VS 2008 and then SP1

    I am running VS 2008 Developer Edition with Team Exploerer and VS 2008 Power Commands.

    • ReplyReply
    • QuoteQuote
     

Answers

  • Tuesday, August 19, 2008 7:23 PMNick McCready Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Vote As Helpful
    10
    Through Microsoft's help they came up with a work around which is a simple modification to the devenv.exe.config file.

    This will exist in (64 bit systems) C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE

    Or (32 bit systems) C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE

    Add this XML token to the dependentAseembly list. They had me add it after the office one, but im not sure if that matters.

                <dependentAssembly>
                    <assemblyIdentity name="office" publicKeyToken="71e9bce111e9429c" culture="neutral"/>
                    <codeBase version="12.0.0.0" href="PrivateAssemblies\Office12\Office.dll"/>
                </dependentAssembly>

    <!-NEW STUFF-->
                <dependentAssembly>
                    <assemblyIdentity name="Microsoft.PowerCommands" publicKeyToken="null" culture="neutral"/>
                    <codeBase version="1.1.0.0" href="C:\Program Files (x86)\PowerCommands\Microsoft.PowerCommands.dll"/>
                </dependentAssembly>


    Now you should be able to run PowerCommands with VS 2008 SP1 and XAML with no crashes. I guess there will be a fix when the next PowerCommands version comes out or on .net 4.0 .

    Thanks MSFT!
    • Marked As Answer byNick McCready Tuesday, August 19, 2008 7:24 PM
    • Edited byNick McCready Monday, September 08, 2008 2:13 PMspelling
    •  
    • ReplyReply
    • QuoteQuote
     
  • Friday, August 15, 2008 6:47 PMNick McCready Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Vote As Helpful
    0
    As it turns out through Microsoft support it is Power Commands 2008 that causes the problem for me. As soon as it was uninstalled the errors when away. They are looking into now and searching for hot fixes or workarounds. So Power Commands 2008 has compatibility problems with VS 2008 SP1 . Hope this helps some one!


    • Edited byNick McCready Friday, August 15, 2008 6:47 PMfix spelling
    • Marked As Answer byNick McCready Friday, August 15, 2008 6:47 PM
    •  
    • ReplyReply
    • QuoteQuote
     

All Replies

  • Thursday, August 28, 2008 4:23 PMShaun P Bowe Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0

    Thank you for taking the tmie to post this. Your solution worked perfectly.

    • ReplyReply
    • QuoteQuote
     
  • Tuesday, September 09, 2008 5:17 PMNick McCready Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    No problem, your welcome! :)
    • ReplyReply
    • QuoteQuote
     
  • Monday, September 15, 2008 2:36 PMDan Trocchio Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    I've been looking for a fix, let alone an acknowledgment of this problem for quite a bit, thank you very much.
    • ReplyReply
    • QuoteQuote
     
  • Monday, September 15, 2008 9:41 PMNick McCready Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    Hey just give me a bump with the "Post was helpful" : D 
    • ReplyReply
    • QuoteQuote
     
  • Monday, September 22, 2008 9:44 PMtpayne Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    Perfect!!  I too had a hard time finding an answer to this.
    thanks again.
    • ReplyReply
    • QuoteQuote
     
  • Wednesday, November 26, 2008 5:56 PMcicorias Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    Invaluable assistance this post provided!! 
    Shawn Cicoria
    • ReplyReply
    • QuoteQuote
     
  • Monday, December 15, 2008 10:45 PMmyjimmyyyyyy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    The problem is, Vista won't allow me to save that file. What OS are you running?
    • ReplyReply
    • QuoteQuote
     
  • Thursday, January 15, 2009 4:08 PMNick McCready Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Vote As Helpful
    0
    To save the file you need to run Notepad elevated (Run as Administrator)  then you will be able to save no problem. This is the way it is with any file below C:/ProgramFiles/ or even C:/Windows. This is to protect people from making changes if they dont know what they are doing. It also protects against rogue programs because unless they are elevated they cannot delete everything under the sun. UAC is really a good thing. You can lower the prompting though the Security Policys.
    • ReplyReply
    • QuoteQuote
     
Need Help with Forums? (FAQ)
 
© 2009 Microsoft Corporation. All rights reserved.
Terms of Use
|
Trademarks
|
Privacy Statement