Final Answer to the Install/Uninstall issues.

Can someone PLEASE post a Thread with a very obvious and easily seen Heading
that gives a CLEAR and WORKING solution to the Install/Uninstall Problems
with Resharper/VS.NET's component registries?


4 comments
Comment actions Permalink

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.



0
Comment actions Permalink

Hey Dmitry,

Thx summary. Should be top level post ;)

If your system supports "sticky" posts, please make this sticky (stays at
the top of the list all the time).

/jhd

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

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.

>
>
>


0
Comment actions Permalink

Please explain how to rid my machine of all old versions of Resharper in
Add/Remove Programs.

I've had to uninstall manually several times, and these remnants are still
hanging round.

John

"John Dhom" <a@b.c> wrote in message news:c66qm5$4r0$1@is.intellij.net...

Hey Dmitry,

>

Thx summary. Should be top level post ;)

>

If your system supports "sticky" posts, please make this sticky (stays at
the top of the list all the time).

>

/jhd

>

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

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.

>
>
>

>
>


0
Comment actions Permalink

John,

try to clean up your registry with some registry cleaning tool.

"John Perkins" <jperkins@thoughtworks.com> wrote in message
news:c6pagr$8he$1@is.intellij.net...

Please explain how to rid my machine of all old versions of Resharper in
Add/Remove Programs.

>

I've had to uninstall manually several times, and these remnants are still
hanging round.

>

John

>

"John Dhom" <a@b.c> wrote in message news:c66qm5$4r0$1@is.intellij.net...

Hey Dmitry,

>

Thx summary. Should be top level post ;)

>

If your system supports "sticky" posts, please make this sticky (stays

at

the top of the list all the time).

>

/jhd

>

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

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.

>
>
>

>
>

>
>


0

Please sign in to leave a comment.