Patch for VS 2010 RC Intellisense Crash Issue Now Available

[In addition to blogging, I am also now using Twitter for quick updates and to share links. Follow me at: twitter.com/scottgu]

Last week I blogged about an intellisense crashing issue that is unfortunately in the VS 2010 RC. 

Crash Symptom

If you are encountering frequent VS 2010 crashes when you are typing in the editor while Intellisense is popping up and/or being dismissed then you are running into this issue.

Patch Now Available

This morning we made available a VS 2010 RC patch which fixes this issue.  You can download and run it here

Please apply it if you are encountering any crashes with the VS 2010 RC, or if you have a tablet, multi-touch, screen-reader or external devices attached (including Wacom tablets, phones/ipods, and others that connect via USB).

Please make sure to submit any issues you encounter with the VS 2010 RC to us via the connect.microsoft.com web-site.  Once you’ve entered the issue there please send me email (scottgu@microsoft.com) with a pointer to the issue and I’ll make sure the appropriate team follows up quickly.

Hope this helps,

Scott

Published Monday, February 15, 2010 10:15 AM by ScottGu

Comments

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 1:55 PM by Steele Price

Thank you for making this available so quickly!

The patch works perfectly for me.  Confirmed on 2 machines.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 2:33 PM by ScottGu

@Cory,

>>>>>>>> I'm using Windows Server 2003 SP 2 with VS 2010 RC. I'm experience the crash too but none of the "Why does the crash happen" scenarios applies to my machine.

I'd recommend installing the patch to see if it fixes the issue.  If it still happens please send me email (scottgu@microsoft.com).

Thanks,

Scott

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 3:09 PM by Shuaib Rameh

Thanks for providing the patch. This was driving me crazy over the weekend. It kept crashing every 2 seconds. I googled and tried all the suggestions with no luck. I hope this resolves the issue.

Thanks again!

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 3:14 PM by Mike O'Neill

That fixed it, I can edit cs and js files fine now - no crashes for an hour. Thanks for getting it fixed and the patch out so quickly.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 3:50 PM by azamsharp

Does this also solve the theme bug problem described below:

azamsharp.com/.../279_Visual_Studio_2010_RC_BUG_Custom_Theme_Kills_Intellisense.aspx

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 5:28 PM by Don Price

I attempt to install it, but the installer hangs (captured installer window if that helps).

cid-5a4e239ff6535a5c.skydrive.live.com/.../VS2010%5E_KB980610%5E_Error.png

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 5:47 PM by Sreeram Gurram

I had to install the UIA 3.0 API from the below url along with the above patch to improve the code editor performance on my Tablet PC (running XP 32 bit OS)

support.microsoft.com/.../971513

Thanks Scott Gu and team for helping me out

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 7:19 PM by Noah

@azamsharp:

Are you sure it has something to do with themes?  It sounds like you are resetting *all* settings, and that is what fixes the bug.

There's a known issue that if you had ReSharper installed in VS2008, it disables intellisense (to replace it with its own).  When your settings are imported for VS2010, the disabled intellisense settings are also imported.

If this is the case, you can turn it back on with the options under Tools->Options->Text Editor->[language] (and sometimes also under the Intellisense node under each language).

For example, for C#, the first checkbox under Tools->Options->Text Editor->C#->Intellisense is "Show completion list after a character is typed". Make sure that is checked.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 7:56 PM by T.J. Barbour

If I download the VS2010 RC today, is the patch included? Or do I have to apply it no matter what?  Thanx! - T.J.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 10:48 PM by Paul Selormey

Just installed it on a Windows 7 Pro dual 20' monitor with 120 pixels per inch (and Use Windows XP style DPI styling option), and this thing cannot get its placement and sizing correct.

You try to resize it, and when you restart next time, it still cannot tell its position and size...part of it in the second monitor, and it goes below the task bar, etc! This is a game  changer?

How are you guys really testing this thing with all those resources at your disposal?

Best regards,

Paul.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 10:49 PM by Prabath Fonseka

Thanks a lot Scott. It kept crashing once in three times IntelliSence popped. Hope this resolves the issue.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 10:56 PM by ScottGu

@T.J.

>>>>>>>> If I download the VS2010 RC today, is the patch included? Or do I have to apply it no matter what?  Thanx! - T.J.

The patch is not included with the RC - so even if you download it now you'll need to still run the patch.

Hope this helps,

Scott

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 15, 2010 11:03 PM by ScottGu

@Paul,

>>>>>> Just installed it on a Windows 7 Pro dual 20' monitor with 120 pixels per inch (and Use Windows XP style DPI styling option), and this thing cannot get its placement and sizing correct. You try to resize it, and when you restart next time, it still cannot

Can you send me email (scottgu@microsoft.com) about this issue?  We can then have someone follow up to investigate what is going wrong.

Thanks,

Scott

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Tuesday, February 16, 2010 12:34 AM by bbehrens

@Paul:

IntelliSense is not resizable.  This is a change from VS 2008, but it's something we unfortunately didn't have time to implement for VS 2010.  The completion window being hidden behind the Windows task bar is a known issue that we're currently investigating.  We don't have a fix yet, so I can't guarantee we'll find a fix that's low enough risk for this close to the final release, but we are actively looking into this.

Thanks,

Brittany Behrens | Program Manager | Visual Studio Platform - Editor

blogs.msdn.com/visualstudio | @VSEditor on Twitter

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Tuesday, February 16, 2010 1:52 AM by John Leidegren

I had a similar issue and applied the patch, however, it did not solve my problem with VS 2010 RC crashing. I've filled a Connect Bug for this connect.microsoft.com/.../533420

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Tuesday, February 16, 2010 6:53 AM by David Monair

Downloaded VS2010RC over the weekend and was getting really frustrated with the intellisence crashing.

This patch works great guys.

Yet another fantastic job from the Gu and all the guys on the team.

Thanks

David Monair

Web developer

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Tuesday, February 16, 2010 9:37 AM by JulienG

I have a problem, I don't see the framework 4 when I create a new project in VS 2010 :((((

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Tuesday, February 16, 2010 8:01 PM by Jack

Quick patch, hope it works.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Tuesday, February 16, 2010 11:16 PM by Chance

You should really consider moving "[In addition to blogging, I am also now using Twitter....." to your theme or removing it from your descriptions. It kinda mutes your description/feed.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Wednesday, February 17, 2010 12:40 AM by Yann

Unfortunately, the patch did NOT solve the problem for me.

connect.microsoft.com/.../vs-2010-crashes-when-i-hover-my-mouse-over-a-highlighted-error

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Wednesday, February 17, 2010 6:19 AM by Robert Stuczynski

I install it but not work Intellisense :( I must press Control+Space to show Intallisense. I send you email Scott.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Wednesday, February 17, 2010 12:30 PM by David Martin

Not entirely working for me.  I'm testing to see if test inheritance is truly implemented in 2010 (initial tests show it is NOT).  I've created two test projects (Why can I not create a v3.5 test project?).  When, in the second project, I type the name of the base class after the colon (no using statement yet in the code file) VS gives me the red squiggly.  Normally I would then hover to get the quick fix menu.  It is at this point that VS consistently crashes.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Thursday, February 18, 2010 4:58 PM by Judah Himango

Scott, we have a reproducible issue here involving both VS 2008 and VS 2010. Steps we took to create the problem:

1. Copy our main 2008 .sln file as ourSolution.vs2010.sln.

2. Open that solution in VS2010. It upgrades all the .csproj.

3. Close VS2010.

4. Open the original 2008 .sln file in VS 2008.

5. Edit some XAML inside VS 2008.

6. GDI drawing errors will occur (the VS2008 property window has a big red X drawn across it.

7. VS 2008 will finally crash.

This happened only after we installed VS 2010. The problem is reproducible using our solution. I would like to help get this fixed -- my email is judahgabriel at gmail.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Thursday, February 18, 2010 6:42 PM by ScottGu

@Judah,

>>>>>>> Scott, we have a reproducible issue here involving both VS 2008 and VS 2010

Can you send me email (scottgu@microsoft.com) so that we can help investigate and follow-up?

Thanks,

Scott

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Thursday, February 18, 2010 6:43 PM by ScottGu

@David,

>>>>>>> Not entirely working for me.  I'm testing to see if test inheritance is truly implemented in 2010 (initial tests show it is NOT).  I've created two test projects (Why can I not create a v3.5 test project?).  When, in the second project, I type the name of the base class after the colon (no using statement yet in the code file) VS gives me the red squiggly.  Normally I would then hover to get the quick fix menu.  It is at this point that VS consistently crashes.

Can you send me email on this?  We can then follow up with you to investigate further.

Thanks,

Scott

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Friday, February 19, 2010 10:29 AM by Aaron Smith

Unrelated to this issue, is there going to be a hot fix for the web designer where it deletes your controls out of the .designer files? This is a total blocking issue for a whole lot of people. In beta I had no problems with the web application projects, but in the RC it's totally unusable for me. Every time I edit a page that was working in Beta, some of my controls disappear from the .designer file and I can no longer compile. A suggested work around of adding the controls to the code behind just creates a mess and then a problem once a release is made.

For reference:

connect.microsoft.com/.../issue-with-auto-generated-designer-files-not-addding-components

connect.microsoft.com/.../controls-in-createuserwizard-wizardstep-not-visible-as-before

Thanks,

Aaron

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Friday, February 19, 2010 4:46 PM by Greg Smythe

I installed this patch and I'm still getting an unacceptably long delay (and this is only a 100-line .cs or so) when I start typing a line. I'm on XP Pro 32bit. Any other ideas?? :)

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Sunday, February 21, 2010 9:58 AM by Sean Fao

Scott,

I wasn't having problems with crashing, but I installed this patch to be safe. After installing it, however, I ran into a problem that I've been having since beta 2 (the first public release I got my hands on).

using (IFoo<Bar> foo = new Foo<Bar>())

When I type the following, intellisense pops up and tries to make a best guess for the *type* as soon as I start typing the *variable* name, foo. Intellisense shouldn't pop up until after I type the new keyword. This only seems to happen in a using statement.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Sunday, February 21, 2010 9:55 PM by scott the book publishing guru

>>>>>>> Not entirely working for me.  I'm testing to see if test inheritance is truly implemented in 2010 (initial tests show it is NOT).  I've created two test projects (Why can I not create a v3.5 test project?).  When, in the second project, I type the name of the base class after the colon (no using statement yet in the code file) VS gives me the red squiggly.  Normally I would then hover to get the quick fix menu.  It is at this point that VS consistently crashes.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 22, 2010 12:17 AM by Asif

I downloaded vs 2010 ultimate RC and it tells me the embedded serial key is invalid..... I don't understand how do you guys develop a product that you cannot even validate a product key. very shameful ....better stay simple like google . better for you guys.. The embedded product key  is this:

[Product Key]

BD9TPWJD9XBWX4KQPWVY4GW9G

bye

(MCPD, MCAD)

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, February 22, 2010 7:23 AM by vanzare apartamente

Thanks a lot, goes great

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Tuesday, February 23, 2010 11:35 PM by Graham

Hey David (and/or Scott if you are interested),

Just reading your comment about crashing on objects, do you have ReSharper VS 2010 5.0+ installed? I logged this bug with them, it could be the same bug you are suffering or my bug may have been caused by this USB devices issue, not sure! Will try when I get off work.  I have a set of screenshot attachments though in there demonstrating crashing when clicking symbols.

youtrack.jetbrains.net/.../RSRP-160059

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Wednesday, February 24, 2010 2:21 AM by Bola

Hi Scott,

I installed the RC version on Windows XP SP3, at first it was working, then suddenly, it stopped working after loading the splash screen. I tried a lot of devenv.exe options to reset my environment but none is working. Below is the content of the error message.

EventType : clr20r3     P1 : devenv.exe     P2 : 10.0.30128.1     P3 : 4b611627

P4 : presentationcore     P5 : 4.0.0.0     P6 : 4b6113f1     P7 : 5334    

P8 : 11     P9 : system.io.filenotfoundexception    

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Sunday, February 28, 2010 10:19 AM by bilder hochladen

re you sure it has something to do with themes?  It sounds like you are resetting *all* settings, and that is what fixes the bug.

There's a known issue that if you had ReSharper installed in VS2008, it disables intellisense (to replace it with its own).  When your settings are imported for VS2010, the disabled intellisense settings are also imported.

If this is the case, you can turn it back on with the options under Tools->Options->Text Editor->[language] (and sometimes also under the Intellisense node under each language).

For example, for C#, the first checkbox under Tools->Options->Text Editor->C#->Intellisense is "Show completion list after a character is typed". Make sure that is checked.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Sunday, February 28, 2010 10:40 AM by bilder hochladen

i cant see the Framework yet. Can somebody help me

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Wednesday, March 03, 2010 5:08 PM by SR1995

Using C# in Visual Studio 2010 Ultimate RC intellisense only works when I use crtl-space, When typing I do not get autocomplete and after typing "." after a method or variable I do not get a drop down list of suggestions. My settings  in Tools --> Options --> TextEditor -C# match exactly my settings in VS 2008 where intellisense works as expected.

What can I do to correct this?

Thanks.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, March 08, 2010 11:10 AM by Chris

Visual Studio 2010 has crashed a total of 13 times since I've installed it, all I'm guessing are related to this bug as it happens right after intellisense.

No extensions/addons installed, not on a touchscreen device or with any usb device plugged in. To add insult to injury the patch download idles doing nothing behind a proxy!

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Monday, March 22, 2010 2:11 PM by Steve Pilon

The download fails with the following error:

Caught error in File Transfer Process of type 'VaultFSError', error text is:

Module: CFileTransferIsapi.cpp, Line#: 2200 Context Text: System Error: 53, returned from CFileTransferIsapi::DownloadFileBytes attempting to open file:\\PR1DSCORE\DSVault\LUN_04\Taranna\F32349BB-5128-4AC5-8520-18065D180408, handle = 0x0 Library Text: Src=W32 The network path was not found.

# re: Patch for VS 2010 RC Intellisense Crash Issue Now Available

Friday, April 02, 2010 12:51 PM by Chris Lee

Thanks for the patch Scott.  Unfortunately, VS 2010 RC still crashes each time I open it for the first time after Win 7 reboot.  I shut it down, and then reopen and it works ok after that.