Downloadable Hotfix: Performance and Editor fixes for Microsoft Visual Studio 2008 and Visual Web Developer Express 2008

Downloadable Hotfix: Performance and Editor fixes for Microsoft Visual Studio 2008 and Visual Web Developer Express 2008

Rate This
  • Comments 53

We have received a great deal of feedback on VS 2008 and VWD 2008. Thank you for all the feedback.


We have looked at the feedback carefully and selected some critical issues around performance and editor usage to fix in this hotfix. This article talks about all the issues that are fixed in the hotfix.


Machine Prerequisites:


1.     Install Microsoft Visual Studio 2008 or Visual Web Developer Express 2008.

2.  Close all instances of Visual Studio or VWD express before installing the patch. If the product is open while the hotfix is installed, it can cause a variety of problems as certain components may not update properly. 


Download instructions:


Supported Languages:

This hotfix currently supports all languages except POR (Portuguese) and RUS (Russian).  Note that the description still says ‘ENU’ although it is an ‘all-lang’ package. Due to some limitations on the connect website we were not able to change the description for already published hotfixes. We are working with the team that owns connect site to fix it.


Issues that are fixed:  We have fixed several bugs in this hotfix. All bug fixes are listed below.

HTML Source view performance

  • Source editor freezes for a few seconds when typing in a page with a custom control that has more than two levels of sub-properties.
  • “View Code” right-click context menu command takes a long time to appear with web application projects.
  • Visual Studio has very slow behavior when opening large HTML documents.
  • Visual Studio has responsiveness issues when working with big HTML files with certain markup.
  • The Tab/Shift-Tab (Indent/Un-indent) operation is slow with large HTML selections.

Design view performance

  • Slow typing in design view with certain page markup configurations.

HTML editing

  • Quotes are not inserted after Class or CssClass attribute even when the option is enabled.
  • Visual Studio crashes when ServiceReference element points back to the current web page.

JavaScript editing

  • When opening a JavaScript file, colorization of the client script is sometimes delayed several seconds.
  • JavaScript Intellisense does not work if an empty string property is encountered before the current line of editing.

Web Site build performance

  • Build is very slow when Bin folder contains large number of assemblies and .refresh files with web-site projects.


Install/uninstall information:


Ø  Close all instances of VS before installing the product.

Ø  Click on the ‘Download’ link.

Ø  Copy the hotfix to a known directory.

Ø  Run the hotfix executable (Right click and choose 'Run as a administrator' in Vista)

Ø  Click on the ‘Run’ button when ‘Unknown Publisher’ security warning dialog pops up.

Ø  Click on ‘Continue’ when the Microsoft Self-Extractor dialog pops up

Ø  Click OK to extract the files to default location (C:\).

Ø  If you don't run as an administrator in Vista, you will get the following error message If 'C:\' happens to be your %SystemDrive%


Ø  This is because the default path is set to %SystemDrive%. Change the extraction path to another location where the you can write and that should fix the problem.

Ø  Choose default options for the remaining part of the setup.

Ø       To verify patch installed correctly:

a)       Launch VS 2008.

b)       Go to Help -> About dialog

c)       Looking for an entry that says ‘Hotfix for Microsoft Visual Studio Team System 2008 Team Suite – ENU (KB946581)’. You will see this exact text in VS Team Suite SKU but if you are using PRO or STD then the entry will be little bit different. You are good to go if the KB article number is correct.

Ø       To verify product bits copied correctly: Check the time stamp on the following files to make sure that it says Feb, 1st 2008.

a)       Common7\IDE\Microsoft.VisualStudio.Web.dll

b)       Common7\Packages\htmled.dll

c)       Common7\Packages\mswebprj.dll



Ø  Go to Control Panel -> Add/ Remove programs.

Ø  Check the “Show Updates” checkbox.

Ø  Select “Hotfix for Microsoft Visual Studio 2008 – KB946581” under Microsoft Visual Studio 2008 and click “Remove”. (or)

Ø  Select “Hotfix for Microsoft Visual Web Developer 2008 Express Edition – KB946581 and click “Remove”


Vinaya Reddy
Visual Studio Web Tools

Leave a Comment
  • Please add 5 and 2 and type the answer here:
  • Post
  • Visual Studio 2008 still doesn't work correctly for me.  Hotfix installed successfully (checked version information after install) but nothing has changed.

    Even creating a completly new WebApp, the default form that is created takes over a minute to allow me to add a control in design mode.  Source mode is immediate and works fine, but when I switch back to Design mode, it takes fore ever.

    I am using Vista Ultimate

    Version 6.0.6001 Service Pack 1 Build 6001

    Intel Quad CPU 2400 MHZ 1600 MHZ DDR3 memory

  • I experience the same problem regarding Ctrl+F extremely slow appearance crippling the CPU significantly. Every time I press Ctrl+F I have to wait 4 or 5 seconds for the dialog to appear. And CPU load equals to 30-50% (means one core is fully loaded). No swapping takes place. While the dialog is appearing I notice the whole Visual Studio window is redrawn. Solution Explorer is even first grayed and then after noticeable delay redrawn.

    And… is there any way to disable thumbnails in ctrl+tab dialog? It also causes high CPU load and makes a second delay before a dialog appears. At the same time thumbnails provide absolutely no useful information for C/C++ developer.

    This all happens under: Vista x64 Ultimate (Aero enabled of course), 3.2 GHz 4MB L2 cache Core2Duo CPU, GeForce 7300, 4GB RAM.

  • I just wanted to add that some factors affect the delay:

    1. Number of opened documents (the more documents are opened - the slower the response to Ctrl+F)

    2. Number of GDI handles used by devenv.exe process. The longer I work the more handles Visual Studio opens. Starting from 500-600 GDI handles (a 1-2 second delay of Ctrl+F dialog) it then goes upto some thousands (4-5 seconds delay). Maybe leaks?

  • One more update:

    This happens only if Ctrl-F window is set as 'Floating'. After I changed to 'Dockable' the whole Visual Studio window is not redrawn thus making no significant delay. Maybe about 200-300 ms but it seems to be ok. However... 3.2 GHz CPU... and 300 ms... to draw just _one_ window...

  • Concerning the GDI+ handles.... I think this makes sense in my context. I just re-installed so I can't test, but I do know that I had issues with things like copy-pasting images after using my computer too long. Basically, the paste would fail!

    I also work with lots of open documents and the problem worsens with use. I'd bet the GDI+ handle leak occurred on my machine as well.

  • Jason & Fmot,

    We'd like to have you run a performance diagnostic tool on your computer to help us understand what is causing the slow down of Find on your computer.  Please contact me via email (s e a n l a @ m i c r o s o f t . c o m) and I'll send you the tool and instructions.


    -Sean Laberee

    Program Manager

    VS Platform Team

  • Is this a required hotfix? Can I install it on my computer with installed VS Professional 2008?

  • I've tried the hotfix and I'd be happy to run some diagnostics because this is unusable and we went from 1.1 to 3.5 and there's no going back now.

    Interesting theory my co-worker had (because it was one of the only things different from us and our co-worker who has no problems): It has something to do with Office 2007. Then I read here ( that the designer might actually be an Office 2007 component. Our co-worker has Office 2003 and has NO problems. Same for my at home.


Page 4 of 4 (53 items) 1234