views:

7742

answers:

6

Any ideas on how to disable, but not uninstall Resharper 4.x or above?

+43  A: 

You can disable ReSharper using the Visual Studio Add-In Manager (remove the check from check box on the left):

Add-in manager

Caveat: only tested with VS 2005 and R# 3.1, but I see no reason why it wouldn't work with other versions too. :)

In R5, this is how you can suspend ReSharper from the Tools > Options > Resharper alt text

Rytmis
Works in other versions too.
Raithlin
Add-in Manager's under the 'Tools' tab, just to save anyone a few fumbling moments...
Overflew
I myself tried in VS 2008, and yeah it is working. Thanks.
Braveyard
copied the image from the answer below and posted it. shucks! both point to http://img697.imageshack.us/img697/2126/resharpersuspend.png
Quintin Par
+8  A: 

This didn't work for me. The checkbox in the Startup column was both checked and disabled.

BUT! I found a fix elsewhere on the web.

What you need to do is make the following file(s) writeable:

C:\Program Files\JetBrains\ReSharper\v4.0\Bin\Product.VisualStudio.80.AddIn

C:\Program Files\JetBrains\ReSharper\v4.0\Bin\Product.VisualStudio.90.AddIn

Because these files were read-only, VS200x was unable to modify them to set the startup enabledness of the Resharper addin.

mackenir
+2  A: 

You can also press Ctrl+8.

SLaks
This shortcut disable ReSharper for currently opened file.
Feryt
+26  A: 

The accepted answer does not work from resharper 5 onwards. You should suspend ReSharper from the Tools > Options > Resharper

alt text

Cherian
+! this worked for me in VS2010
bendewey
+2  A: 

In ReSharper 5.0, the keyboard shortcut to temporarily enable/disable code analysis for the current file is Ctrl+Shift+Alt+8. It was Ctrl+8 in previous versions.

aponzani
+1  A: 

On Win7, open VS as admin, and the .AddIn file will be writable. (the checkbox will be active)

craigb