Microsoft 开发人员网络 > 论坛主页 > Visual Studio Setup and Installation > Xaml Editor, Class Explorer Crashes after Visual Studio 2008 SP1
提出问题提出问题
 

已答复Xaml Editor, Class Explorer Crashes after Visual Studio 2008 SP1

  • 2008年8月15日 2:00Nick McCready 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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.

答案

  • 2008年8月19日 19:23Nick McCready 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    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!
  • 2008年8月15日 18:47Nick McCready 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    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!


全部回复

  • 2008年8月15日 18:47Nick McCready 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    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!


  • 2008年8月19日 19:23Nick McCready 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复
    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!
  • 2008年8月28日 16:23Shaun P Bowe 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

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

  • 2008年9月9日 17:17Nick McCready 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    No problem, your welcome! :)
  • 2008年9月15日 14:36Dan Trocchio 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I've been looking for a fix, let alone an acknowledgment of this problem for quite a bit, thank you very much.
  • 2008年9月15日 21:41Nick McCready 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hey just give me a bump with the "Post was helpful" : D 
  • 2008年9月22日 21:44tpayne 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Perfect!!  I too had a hard time finding an answer to this.
    thanks again.
  • 2008年11月26日 17:56cicorias 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Invaluable assistance this post provided!! 
    Shawn Cicoria
  • 2008年12月15日 22:45myjimmyyyyyy 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    The problem is, Vista won't allow me to save that file. What OS are you running?
  • 2009年1月15日 16:08Nick McCready 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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.
  • 2009年11月9日 22:42Lavanyr 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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.


    Hi When ever i select Choose ToolBox Items to add Ria Controls VS getting crashed. I searched in google and got a solution to uninstall Power Commands. but unable to Uninstall it. able to go upto C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE but not able to find dependentAseembly list. Any Help is Appreciated link for solution : http://www.nablasoft.com/guardian/index.php/2009/03/17/vs2008-sp1-powercommands-toolbox-additemscrash/ Thanks in advance.

  • 2009年11月9日 22:45Lavanyr 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    I am able to go up to IDE but not able to find  ""dependentAseembly list "" . Even try to search in the system but no luck.
    Any help is appretiated.
    Thanks in Advance.