Is there a way to disable ReSharper by passing command line parameters?
I have ReSharper installed and am using it for our projects; however, I also use Visual Studio (2003) to edit text files sometimes by just opening them with the program. The problem is that I see the ReSharper "Loading Solution" and other junk that takes a ridiculous amount of time when there is no solution! I just want to quickly edit the file, save, and move on.
Is there some way I can pass something on the command line or via the shortcut or whatever so that ReSharper is not enabled when I'm just editing one file that has no project or solution? Ideally, the program would be smart enough to know that there is no solution present but apparently it's not.
Please sign in to leave a comment.
Hello Monte,
the problem is that actually there is a solution when you open a text file
with VS. Check Solution
Explorer and you see that an artificial solution is created. It's hard for
ReSharper to distinguish between
such an aritificial solution and a regular one.
I think you can try running 'devenv /?' from the command line and learn about
different command-line parameters. I remember that there is a '/SafeMode'
key that launches VS with minimal extensions, may be
that is what you're looking for.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Thanks for the advice, but this does not stop ReSharper from doing its thing. Any other suggestions? I just don't want to wait the extra time for ReSharper to do whatever the heck it's doing when all I want to do is edit a single, simple file.
Monte Kalisch wrote:
Notepad :)
hth,
Max
Hello Monte,
do you mean that VS loads ReSharper even if you specify the '/safemode' command-line
argument?
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Yes, it still loads ReSharper when I pass /safemode as a command-line argument.
The only way I found to disable Resharper 2.0 VS2005 Addin without
uninstalling it is to modify the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\AddIns\ReSharperAddIn2005
Set "LoadBehavior" value to 2 instead of 3.
On 64-bit OS this key is located under
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\8.0\AddIns\ReSharperAddIn2005
"Monte Kalisch" <no_reply@jetbrains.com> wrote in message
news:26377187.1145284760809.JavaMail.itn@is.intellij.net...
Hello Serge,
yes, this way should definitely work. I have no idea why VS loads ReSharper
in '/safemode', but if this is the case I'm afraid there's no
other workaround than modifying the mentioned registry key.
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Yes, it still loads ReSharper when I pass /safemode as a command-line
>> argument.
>>
Hmm, this way doesn't seem to be the way anymore because there are no:
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\Add
Ins\ReSharperAddIn2008"
So how could I disable Resharper 3.1 in VS2008?
Message was edited by:
Björn Carlsson