ReSharper 3 installation bug
I uninstalled all previous ReSharper versions EXCEPT ReSharper for VS2003 (2.0.269.2).
Reset all settings (via Tools -> Import and Export Settings -> Reset all settings).
Exited all instances of Visual Studio.
Installed ReSharper 3.0 RC 465.
Then started VS2005 and found that all ReSharper menus were disabled, there were no items in Tools\ Add-in Manager window, and there was "ReSharper 3.0 " item in Help\ About MS VS window.
I repeated uninstall\install with ReSharper 3.0 RC 465 and ReSharper 3.0.423 unsuccessfully some times, and succeeded only with ReSharper 2.5.370.
WinXP SP2
Please sign in to leave a comment.
Hello E,
could you please try to enable ReSharper in the add-in manager (Tools|Add-In
Manager) when its menus are disabled? It seems there is a bug
in VS 2005 which sometimes ignores the 'Startup' checkbox there and doesn't
load add-ins.
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Don't u see, Dmitry, "there were no items in Tools\ Add-in Manager window" in original post?
I think the bug is in installer addin registration - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\AddIns is empty.
(there is HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\AddIns\ReSharperAddIn25 for ReSharper 2.5)
But ReSharper's developers could change the way addin loading - I found new key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\AutomationOptions\LookInFolders contains path to ReSharper 3.0 dir... However it does not work!
..or VS does not proper load addins
Hello E,
sorry, I've missed the sentence about Add-In Manager.
ReSharper 3.0 no longer uses the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\AddIns
registry key, it uses the LookInFolders key you mentioned.
Is there "\Program Files\JetBrains\ReSharper\v3.0\vs8.0\Bin\ReSharper.8.0.AddIn"
file on your machine?
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Hello E,
>>
>> could you please try to enable ReSharper in the
>> add-in manager (Tools|Add-In
>> Manager) when its menus are disabled? It seems there
>> is a bug
>> in VS 2005 which sometimes ignores the 'Startup'
>> checkbox there and doesn't
>> load add-ins.
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> I uninstalled all previous ReSharper versions
>>>
>> EXCEPT ReSharper for
>>
>>> VS2003 (2.0.269.2).
>>> Reset all settings (via Tools -> Import and Export
>> Settings -> Reset
>>
>>> all settings).
>>> Exited all instances of Visual Studio.
>>> Installed ReSharper 3.0 RC 465.
>>> Then started VS2005 and found that all ReSharper
>> menus were disabled,
>>
>>> there were no items in Tools\ Add-in Manager
>>>
>> window, and there was
>>
>>> "ReSharper 3.0 " item in Help\ About MS
>>>
>> VS window.
>>
>>> I repeated uninstall\install with ReSharper 3.0 RC
>>>
>> 465 and ReSharper
>>
>>> 3.0.423 unsuccessfully some times, and succeeded
>>>
>> only with ReSharper
>>
>>> 2.5.370.
>>>
Hello E,
what else can be relevant are the options on the Tools|Environment|Add-In
& Macros security. In particular, one may disallow
add-in loading at all.
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>> Hello E,
>>
>> could you please try to enable ReSharper in the
>> add-in manager (Tools|Add-In
>> Manager) when its menus are disabled? It seems there
>> is a bug
>> in VS 2005 which sometimes ignores the 'Startup'
>> checkbox there and doesn't
>> load add-ins.
>> Dmitry Shaporenkov
>> JetBrains, Inc
>> http://www.jetbrains.com
>> "Develop with pleasure!"
>>> I uninstalled all previous ReSharper versions
>>>
>> EXCEPT ReSharper for
>>
>>> VS2003 (2.0.269.2).
>>> Reset all settings (via Tools -> Import and Export
>> Settings -> Reset
>>
>>> all settings).
>>> Exited all instances of Visual Studio.
>>> Installed ReSharper 3.0 RC 465.
>>> Then started VS2005 and found that all ReSharper
>> menus were disabled,
>>
>>> there were no items in Tools\ Add-in Manager
>>>
>> window, and there was
>>
>>> "ReSharper 3.0 " item in Help\ About MS
>>>
>> VS window.
>>
>>> I repeated uninstall\install with ReSharper 3.0 RC
>>>
>> 465 and ReSharper
>>
>>> 3.0.423 unsuccessfully some times, and succeeded
>>>
>> only with ReSharper
>>
>>> 2.5.370.
>>>
Yes, I have "ReSharper.8.0.AddIn" file in the path, and "ReSharper.9.0.AddIn" too.
Add-In/Macros security page has 2 boxes checked and 3rd unchecked (allow from url). Also AddinFilePaths list contains "C:\Program Files\JetBrains\ReSharper\v3.0\vs8.0\Bin".
PS: I use MS VS 2005 SP1.
Hello E,
could you please launch from the command line:
>"C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" /Log
"C:\log.txt"
and post here the 'log.txt' file.
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
here it is...
It seems to me that VS loads RS but it can't work for some reason... It creates own menu item and evidently stops due to internal error. Where can I see ReSharper activity detailed log?
Attachment(s):
log.txt
Hmm, I checked it and see nothing special. According to the log, VS doesn't
even try to load ReSharper - otherwise, there would be a related entry there.
Could
you please try to Reset All Settings (Tools|Import and Export Settings),
if you've not done this yet?
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
How can RS draw its menu without loading??? 8-) screenshot attached.
And where from VS gets info about RS addin? :)
"ReSharper 3.0
ReSharper add-in for Microsoft Visual Studio. For more information about ReSharper, see the ReSharper website at http://www.jetbrains.com/resharper. Copyright © 2003–2007 JetBrains, Inc"
...I did "Reset All Settings" again but nothing changed - see new log.
Attachment(s):
log.txt
RSmenu.jpg
The screenshot seems to me kind of familiar. I know that this is not a fix but try to take a look at the workaround I found for this:
http://www.intellij.net/forums/thread.jspa?messageID=5189759�
PS: Are you using Vista and different than US regional settings? This is so far the only think I can think of that have my machines common.
Hello E,
ReSharper menu is statically embedded into VS, so it doesn't need the loaded add-in to be displayed. I'll try to figure out possible further steps
and post them ASAP.
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
>
>
Attachment not added (general error): "log.txt"
I tried yours workaround and it did not help, conversely, RS 2.5 works well for me.
And whan does it mean "Delete again all Resharper folders"?
C:\Program Files\JetBrains\ReSharper\
or
C:\Documents and Settings\user\Application Data\JetBrains\ReSharper3\ ?
BTW, I have only C:\Documents and Settings\user\Application Data\JetBrains\ReSharper2\ there...
PS: I use WinXP with russian regional settings.
Hmm, but files access monitoring shows me VS successfully reads both RS addins files during launch:
devenv.exe QueryDirectory C:\Program Files\JetBrains\ReSharper\v3.0\vs8.0\Bin\*.addin SUCCESS Filter: *.addin, 1: ReSharper.8.0.AddIn
devenv.exe ReadFile C:\Program Files\JetBrains\ReSharper\v3.0\vs8.0\Bin\ReSharper.8.0.AddIn SUCCESS Offset: 0, Length: 771
Hello E,
that's really strange. Could you please try to install ReSharper on another
machine in your neighborhood and check if it works there?
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
RS was installed and worked fine on another machine... what's wrong with my box?
Hello E,
I really have no idea what's going wrong on your machine. Nor do I know how
to debug this problem, since from what I see VS doesn't even try to load
ReSharper at all,
so there's no code we could debug. I can only recommend to try to re-install
VS - perhaps one of its components is missing which causes so weird a behavior.
BTW, what exactly version of VS you're running and what edition (this is
found in Help|About)?
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
Microsoft Visual Studio 2005
Version 8.0.50727.762 (SP.050727-7600)
Microsoft .NET Framework
Version 2.0.50727
Installed Edition: Enterprise
Microsoft Visual C# 2005 77642-113-3000004-41770
Microsoft Visual C# 2005
Microsoft Visual C++ 2005 77642-113-3000004-41770
Microsoft Visual C++ 2005
Microsoft Visual Studio Tools for Office 77642-113-3000004-41770
Microsoft Visual Studio Tools for the Microsoft Office System
Microsoft Visual Web Developer 2005 77642-113-3000004-41770
Microsoft Visual Web Developer 2005
Microsoft Web Application Projects 2005 77642-113-3000004-41770
Microsoft Web Application Projects 2005
Version 8.0.50727.762
Visual Studio 2005 Team Edition for Developers 77642-113-3000004-41770
Microsoft Visual Studio 2005 Team Edition for Software Developers
Crystal Reports AAC60-G0CSA4B-V7000AY
Crystal Reports for Visual Studio 2005
InstallShield X Editor
InstallShield X Editor. For more information about InstallShield X, see the InstallShield website at <http://www.installshield.com>. For customer support call 1-847-413-2896. InstallShield X Copyright 2004 InstallShield Software Corporation.
Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU Service Pack 1 (KB926601)
This service pack is for Microsoft Visual Studio 2005 Team Edition for Software Developers - ENU.
If you later install a more recent service pack, this service pack will be uninstalled automatically.
For more information, visit http://support.microsoft.com/kb/926601
ReSharper 3.0
ReSharper add-in for Microsoft Visual Studio. For more information about ReSharper, see the ReSharper website at http://www.jetbrains.com/resharper. Copyright © 2003–2007 JetBrains, Inc
hi there!
I am also having the same problem just like what E is describing here... except that this is the first ReSharper installation on my machine.
I was jst trying this tool in replacement with VisualAssistX and I hope that we can expect a solution with this kind of problem.
I also tried install/uninstall/install method but nothing works. I am using WinXP SP2, VS 2005 with SP1 installed.
and also tried installing on my other workstation that have no SP1 installed and was amazed that the R# works and all menus enabled on my IDE.
any updates on this problem?
Message was edited by:
earljon
Hello earljon,
could you please collect the VS's log by running 'devenv /Log "c:\log.txt"'
as described above? We'll try to figure out if two logs have something
in common. Thanks?
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
I am having the same problem as E. I have attached the log file, but in the meantime, I am going to re-install VS.
Attachment(s):
log.txt
I have re-installed VS, and everything is back to normal again.
Did you do a complete uninstall, install cycle or a repair?
"John Adams" <no_reply@jetbrains.com> wrote in message
news:1031240.1182752394590.JavaMail.itn@is.intellij.net...
>I have re-installed VS, and everything is back to normal again.
I have the exact same problem with ReSharper 3.0 C# edition. Also tried the latest 3.0.470.msi with the same results.
Visual Studio 2005 (8.0.50727.762 (SP.050727-7600))
No amount of uninstalling, re-installing, installing 2.5, or rebooting solves the problem for me.
The About box in VS shows that ReSharper is installed, but is shown as .
Message was edited by:
Thomas Kiel Rasmussen
Message was edited by:
Thomas Kiel Rasmussen
Attachment(s):
log.txt
Hello Thomas,
do you see ReSharper in the Add-In Manager?
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
No, Resharper did not appear in the Add-In manager.
By monitoring file access on my machine I can see that VS does look for, and reads the .addin file in the Resharper installation directory...
Message was edited by:
Thomas Kiel Rasmussen
Hello,
Are there any other addins present in the list?
Could you please give us the list of the files installed into the ReSharper
“Bin” folder?
In the Registry, what are the entries under the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\AutomationOptions\LookInFolders
key? Is there one (and only one) item pointing to the ReSharper “Bin” folder?
—
Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”