ExpansionsXML.xml Causes Slow Visual Studio IDE Startup

Article ID: 956549 - View products that this article applies to.
Expand all | Collapse all
Source: Microsoft Support

RAPID PUBLISHING

RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.

Action

Open an existing C# solution. Type in any key in .cs file.

Result



The IDE takes a long time to respond when opening the solution and also to get the character displayed on the editor.

Cause

When the IDE opens up it reads through C:\Documents and Settings\<username>\Local Settings\Application Data\Microsoft\VisualStudio\8.0\ExpansionsXML.xml file for code snippets. If the data in it is corrupted then the IDE reads through the file repeatedly.

Resolution



Delete the file C:\Documents and Settings\<username>\Local Settings\Application Data\Microsoft\VisualStudio\8.0\ExpansionsXML.xml and then, go to the registry and delete the following key: HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0\Languages\CodeExpansions.

More Information



Running ProcessMontor(http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx) on Devenv.exe reveals that it reads through ExpansionsXML.xml continuously.

Refer http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=115134 for similar case.



DISCLAIMER

MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE “MATERIALS”) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.

TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.

Properties

Article ID: 956549 - Last Review: August 6, 2008 - Revision: 1.0
APPLIES TO
  • Microsoft Visual Studio 2005 Express Edition
  • Microsoft Visual Studio 2005 Professional Edition
  • Microsoft Visual Studio 2005 Professional Edition with MSDN Premium Subscription
  • Microsoft Visual Studio 2005 Professional Edition with MSDN Professional Subscription
  • Microsoft Visual Studio 2005 Service Pack 1
  • Microsoft Visual Studio 2005 Standard Edition
  • Microsoft Visual Studio 2005 Standard Edition academic license
  • Microsoft Visual Studio 2005 Team Edition for Database Professionals
  • Microsoft Visual Studio 2005 Team Edition for Software Architects
  • Microsoft Visual Studio 2005 Team Edition for Software Developers
  • Microsoft Visual Studio 2005 Team Edition for Software Testers
  • Microsoft Visual Studio 2005 Team Foundation Server
  • Microsoft Visual Studio 2005 Team Suite
  • Microsoft Visual Studio 2005 Team System Test Edition
Keywords: 
kbnomt kbrapidpub kbmbsdevelopmenttools KB956549

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com