Lost intellisense squiggles after Resharper 5.1 uninstall

I had another play with Resharper at work recently. There’s lots I like about it, for example the code suggestions, and the way it grays out unused functions and unused branches in methods. It’s really good for tidying up legacy code. And “Go To Implementation” is a massive time saver.

There’s a few things I don’t like about it. I don’t think it’s Refactoring options are much better than those built into Visual Studio – I only ever use Extract Method anyway. And I don’t like its “Find All References”.

Anyway, when the trial ran out and I uninstalled it, I found I’d lost my Intellisense squiggles (under Syntax errors and the like).

To turn them back on, it’s under Tools –> Options –> C# –> Advanced. Check “Underline errors in the editor” and “Show live semantic errors”.



Visual Studio 2008 SP1 locks up after installing Office 2010 RC

Since yesterday I’ve been having weird issue with Visual Studio 2008 SP1 locking up whenever I edit HTML files. Basically, the interface stops responding and any click anywhere within Visual Studio (e.g. Solution Explorer, within the HTML file itself, the menus) causes a system beep – ding!

It’s really annoying obviously and the only workaround is to kill Visual Studio in Task Manager.

Then when you restart Visual Studio it’ll load up the HTML file you were working on, and if you’re not careful it locks up again.

This started happening yesterday, when I uninstalled the Beta of Office 2010 and installed the RC.

Update: I found the solution, thanks to this blog post.

When Visual Studio hangs it spawns a setup process that never exits. The setup.exe is located at:
C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\Setup.exe

All I did was run that setup.exe, and chose Repair. It repaired “Microsoft Visual Studio Web Authoring Component”, and once it was done Visual Studio stopped locking up.