IMPORTANT: Install / Uninstall problems

Hi all,

as almost all users have noticed, there are currently some problems with
ReSharper installer. Some of these problems are peculiar to all VS.NET
add-ins,
some are unique to ReSharper due to its complexity and in particular the
fact
that it actively uses Reflection. The purpose of this message is to describe
known
workarounds for these problems.

!0). Newer version of ReSharper is unable to install over the installed
previous one. Please
remove the previous version, then attempt to install the newer one.

!1). ReSharper does not work just after installation. VS.NET tells smth.
like
'The add-in ... failed to load or caused an exception'. The most probable
reason is that
the ReSharper dlls failed to register for COM interop, so VS.NET cannot load
them.

Remedy: try to repair ReSharper using standard 'Add/Remove programs' tool.
If this does not help, try to run Registrar.exe manually as follows:

"C:\Program Files\JetBrains\ReSharper\Registrar.exe" /register


NOTE: If you get RegAsm error like 'Extensibility.dll is not found' please
install extensibility.dll into the
GAC manually. Extensibility.dll is located somewhere
"C:\Microsoft Visual Studio .NET
2003\Common7\IDE\PublicAssemblies\extensibility.dll".
ReSharper currently assumes that it resides in GAC which is not true on some
systems.

NOTE: For ReSharper to work, 'PrivateAssemblies' folder of VS.NET must
contain the following assemblies:
Services.dll, ReSharper.dll, DupCodeSearch.dll, JetBrains.ReSharper.Util.dll
and JetBrainsShared.dll.

Normally these are copied to the 'PrivateAssemblies' automatically and you
don't need to worry about it.
Anyway, if you still get the exception on startup please make sure that the
specified assemblies are in 'PrivateAssemblies' folder.

!2) You cannot uninstall ReSharper because Registrar.exe that is lauched
during uninstall returns an error. Please
run 'Registar.exe /uninstall' manually and look what happens.

!3) After uninstalling ReSharper, VS.NET works improperly with C# projects
(you cannot add new files, project properties are messed
etc). Remedy is usually very simple. The problem is caused by occasionaly
unregistration of csproj.dll. Reregister it manually:

regsvr32.exe "C:\Microsoft Visual Studio .NET

2003\Vc7\vcpackages\csproj.dll"

You don't need to repair or reinstall VS.


--
Regards,
Dmitry Shaporenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


3 comments
Comment actions Permalink

One additional note:
in order to install an assembly into GAC you need to run

gacutil /i <assembly>


gacutil is a command-line tool located at :
"C:\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\gacutil.exe"


0
Comment actions Permalink

You're a godsend.

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c66cer$kfv$1@is.intellij.net...

One additional note:
in order to install an assembly into GAC you need to run

>> gacutil /i >]]>

gacutil is a command-line tool located at :
"C:\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\gacutil.exe"

>



0
Comment actions Permalink

Oh yes. That just saved me HOURS of reworking to back things up so I could
restore a disk image. ( sometimes a reformat or reinstall is just faster
than trying to find the problem in a few cases ... )
You're like. On my christmas list now.

"Dmitry Shaporenkov (JetBrains)" <dsha@jetbrains.com> wrote in message
news:c66cer$kfv$1@is.intellij.net...

One additional note:
in order to install an assembly into GAC you need to run

>> gacutil /i >]]>

gacutil is a command-line tool located at :
"C:\Microsoft Visual Studio .NET 2003\SDK\v1.1\Bin\gacutil.exe"

>



0

Please sign in to leave a comment.