Any ideas on how to disable, but not uninstall Resharper 4.x or above?
相关问题
- How to know full paths to DLL's from .csproj f
- Importing NuGet references through a local project
- Visual Studio 2019 - error MSB8020: The build tool
- 'System.Threading.ThreadAbortException' in
- VS2017 RC - The following error occurred when tryi
相关文章
- resharper 提示设置
- How to show location of errors, references to memb
- How to track MongoDB requests from a console appli
- Visual Studio Hangs on Loading UI Library
- How to use Mercurial from Visual Studio 2010?
- Copy different file to output directory for releas
- Edit & Continue doesn't work
- How to pull a method out of its class (and into a
I only need to disable ReSharper when editing Nant files. It was recently "enhanced" in 6.1 and has since broken the existing intellisense provided by Visual Studio. Instead of worrying about dancing around enabling and disabling, I decided to create a batch file that loads my Nant solution but loads VS in safe mode. Seems be to working great as I'm using VS for nothing more than a fancy text editor when it comes to Nant.
Example: Put the following in a text file saved as a bat or cmd.
My file: "nantbuild.cmd"
For Visual Studio 2012 and Resharper 7+, create a shortcut for Visual Studio and add the following switch:
Now you have a way to have Visual Studio open with Resharper already disabled.
You can also press Ctrl+8.
If you want to do it without clicking too much, open the Command Window (Ctrl + W, A) and type:
ReSharper_Suspend
orReSharper_Resume
depending on what you want.Or you can event set a keyboard shortcut for this purpose. In VS, go to Tools > Options > Environment > Keyboard.
There you can assign a keyboard shortcut to
ReSharper_Suspend
andReSharper_Resume
.