The Add-in 'ReSharper for VS.NET, version 1.0.64.2' failed to load or caused an exception.

When I start VS.Net after installing ReSharper it does not startup. I
get the following error:

-


Microsoft Development Environment
-


The Add-in 'ReSharper for VS.NET, version 1.0.64.2' failed to load or
caused an exception.
Would you like to remove this Add-in?
If you choose yes, you will need to reinstall the Add-in to use it again.

Error Message: Class not registered


Error number: 80040154
-


Yes No
-



I tried uninstalling and reinstalling I get the same error. Here are
details of my PC: WinXP SP2 Beta and VS.Net 2003.

I get the same error with the new build(1.0.65.84) too. I have a bug
report opened too Tracker Request # 796. But this pretty stops me from
doing anything with R# so I thought I would try my luck here.


Any Idea how I can get R# running?


Vasanth
http://www.vasanthdharmaraj.com

0
4 comments
Avatar
Permanently deleted user

Vasanth,

please check up the following things:

1) Examine the contents of VS.NET Private Assemblies folder. The folder is
located at

"C:\Microsoft Visual Studio .NET 2003\Common7\IDE\PrivateAssemblies\"

(of course, you should replace path prefix so that it reflects VS
installation folder on your system).

Make sure that the following assemblies are in the PrivateAssemblies folder:

Microsoft.VisualStudio.*.dll
JetBrainsShared.dll
ReSharper.dll
Services.dll
CookComputing.XmlRpc.dll

If you can't find some of these files (they are copied during ReSharper
installation), the problem is clear, because these files need
to be in the PrivateAssemblies for ReSharper to work. Please go to the
ReSharper installation directory (which is typically located at
"C:\Program Files\JetBrains\ReSharper\") and try run the following command
in this directory:

>Registrar.exe /register /copy

This command should copy all the abovementioned files into the
PrivateAssemblies (essentially, it mimics what happens during installation).

Please check if the files are really copied. If they aren't,
PrivateAssemblies folder is likely to be inaccessible for some reason (make
sure you have rights to write into this folder).

2) If Private Assemblies is OK, may be the problem is in the registry
information. Try re-register ReSharper by running

>Registrar.exe /register

as described above.

Please let us know if it helps or if you still experience the problem.

"Vasanth Dharmaraj" <vazz@mailinator.com> wrote in message
news:c112h9$n8r$1@is.intellij.net...

When I start VS.Net after installing ReSharper it does not startup. I
get the following error:

>

---------------------------
Microsoft Development Environment
---------------------------
The Add-in 'ReSharper for VS.NET, version 1.0.64.2' failed to load or
caused an exception.
Would you like to remove this Add-in?
If you choose yes, you will need to reinstall the Add-in to use it again.

>

Error Message: Class not registered

>
>

Error number: 80040154
---------------------------
Yes No
---------------------------

>

I tried uninstalling and reinstalling I get the same error. Here are
details of my PC: WinXP SP2 Beta and VS.Net 2003.

>

I get the same error with the new build(1.0.65.84) too. I have a bug
report opened too Tracker Request # 796. But this pretty stops me from
doing anything with R# so I thought I would try my luck here.

>
>

Any Idea how I can get R# running?

>
>

Vasanth
http://www.vasanthdharmaraj.com



0
Avatar
Permanently deleted user

Dmitry,

The files you mention are present in the PrivateAssemblies. But when I
run Registrar.exe /register I get the following exception.

RegAsm error: File or assembly name Extensibility, or one of its
dependencies, was not found.
An exception has occurred during registration.
Details:System.NullReferenceException: Object reference not set to an
instance of an object.
at Registrar.RegisterKey(RegistryKey parentKey, XmlElement key,
Boolean delete)
at Registrar.RegisterKey(RegistryKey parentKey, XmlElement key,
Boolean delete)
at Registrar.RegisterUnderVSRoot(XmlDocument xmlConfigFile, Boolean
register)

I tried Registrar.exe /register /copy too. I get the same error.

Am I still missing some files?


Vasanth



Dmitry Shaporenkov(JetBrains) wrote:

Vasanth,

please check up the following things:

1) Examine the contents of VS.NET Private Assemblies folder. The folder is
located at

"C:\Microsoft Visual Studio .NET 2003\Common7\IDE\PrivateAssemblies\"

(of course, you should replace path prefix so that it reflects VS
installation folder on your system).

Make sure that the following assemblies are in the PrivateAssemblies folder:

Microsoft.VisualStudio.*.dll
JetBrainsShared.dll
ReSharper.dll
Services.dll
CookComputing.XmlRpc.dll

If you can't find some of these files (they are copied during ReSharper
installation), the problem is clear, because these files need
to be in the PrivateAssemblies for ReSharper to work. Please go to the
ReSharper installation directory (which is typically located at
"C:\Program Files\JetBrains\ReSharper\") and try run the following command
in this directory:

>>Registrar.exe /register /copy


This command should copy all the abovementioned files into the
PrivateAssemblies (essentially, it mimics what happens during installation).

Please check if the files are really copied. If they aren't,
PrivateAssemblies folder is likely to be inaccessible for some reason (make
sure you have rights to write into this folder).

2) If Private Assemblies is OK, may be the problem is in the registry
information. Try re-register ReSharper by running

>>Registrar.exe /register


as described above.

Please let us know if it helps or if you still experience the problem.

"Vasanth Dharmaraj" <vazz@mailinator.com> wrote in message
news:c112h9$n8r$1@is.intellij.net...

>>When I start VS.Net after installing ReSharper it does not startup. I
>>get the following error:
>>
>>----


>>Microsoft Development Environment
>>----


>>The Add-in 'ReSharper for VS.NET, version 1.0.64.2' failed to load or
>>caused an exception.
>>Would you like to remove this Add-in?
>>If you choose yes, you will need to reinstall the Add-in to use it again.
>>
>>Error Message: Class not registered
>>
>>
>>Error number: 80040154
>>----


>>Yes No
>>----


>>
>>I tried uninstalling and reinstalling I get the same error. Here are
>>details of my PC: WinXP SP2 Beta and VS.Net 2003.
>>
>>I get the same error with the new build(1.0.65.84) too. I have a bug
>>report opened too Tracker Request # 796. But this pretty stops me from
>>doing anything with R# so I thought I would try my luck here.
>>
>>
>>Any Idea how I can get R# running?
>>
>>
>>Vasanth
>>http://www.vasanthdharmaraj.com


0
Avatar
Permanently deleted user

Vasanth,

it seems that the RegAsm.exe cannot load Extensibility.dll assembly (on
which ReSharper assemblies depend).
Extensibility.dll is a constituent part of VS.NET, so it isn't shipped with
ReSharper.
We supposed that the Extensibility.dll is in the Global Assembly Cache, but
on your machine it isn't for unknown
reasons. However, Extensibility.dll should be in the VS.NET PublicAssemblies
folder (on my machine this is at:
"C:\Microsoft Visual Studio .NET 2003\Common7\IDE\PublicAssemblies\")

So please copy Extensibility.dll from the PublicAssemblies folder into
ReSharper installation directory, so that RegAsm.exe
can find it during registration. Then try to run (in ReSharper install dir)
Registrar.exe /register again.

Please let us know if this helps.

"Vasanth Dharmaraj" <vazz@mailinator.com> wrote in message
news:c12t8u$e4a$1@is.intellij.net...

Dmitry,

>

The files you mention are present in the PrivateAssemblies. But when I
run Registrar.exe /register I get the following exception.

>

RegAsm error: File or assembly name Extensibility, or one of its
dependencies, was not found.
An exception has occurred during registration.
Details:System.NullReferenceException: Object reference not set to an
instance of an object.
at Registrar.RegisterKey(RegistryKey parentKey, XmlElement key,
Boolean delete)
at Registrar.RegisterKey(RegistryKey parentKey, XmlElement key,
Boolean delete)
at Registrar.RegisterUnderVSRoot(XmlDocument xmlConfigFile, Boolean
register)

>

I tried Registrar.exe /register /copy too. I get the same error.

>

Am I still missing some files?

>
>

Vasanth

>
>
>

Dmitry Shaporenkov(JetBrains) wrote:

>

Vasanth,

>

please check up the following things:

>

1) Examine the contents of VS.NET Private Assemblies folder. The folder

is

located at

>

"C:\Microsoft Visual Studio .NET 2003\Common7\IDE\PrivateAssemblies\"

>

(of course, you should replace path prefix so that it reflects VS
installation folder on your system).

>

Make sure that the following assemblies are in the PrivateAssemblies

folder:

>

Microsoft.VisualStudio.*.dll
JetBrainsShared.dll
ReSharper.dll
Services.dll
CookComputing.XmlRpc.dll

>

If you can't find some of these files (they are copied during ReSharper
installation), the problem is clear, because these files need
to be in the PrivateAssemblies for ReSharper to work. Please go to the
ReSharper installation directory (which is typically located at
"C:\Program Files\JetBrains\ReSharper\") and try run the following

command

in this directory:

>
>
>>Registrar.exe /register /copy
>
>

This command should copy all the abovementioned files into the
PrivateAssemblies (essentially, it mimics what happens during

installation).

>

Please check if the files are really copied. If they aren't,
PrivateAssemblies folder is likely to be inaccessible for some reason

(make

sure you have rights to write into this folder).

>

2) If Private Assemblies is OK, may be the problem is in the registry
information. Try re-register ReSharper by running

>
>
>>Registrar.exe /register
>
>

as described above.

>

Please let us know if it helps or if you still experience the problem.

>

"Vasanth Dharmaraj" <vazz@mailinator.com> wrote in message
news:c112h9$n8r$1@is.intellij.net...

>
>>When I start VS.Net after installing ReSharper it does not startup. I
>>get the following error:
>>
>>---------------------------
>>Microsoft Development Environment
>>---------------------------
>>The Add-in 'ReSharper for VS.NET, version 1.0.64.2' failed to load or
>>caused an exception.
>>Would you like to remove this Add-in?
>>If you choose yes, you will need to reinstall the Add-in to use it

again.

>>
>>Error Message: Class not registered
>>
>>
>>Error number: 80040154
>>---------------------------
>>Yes No
>>---------------------------
>>
>>I tried uninstalling and reinstalling I get the same error. Here are
>>details of my PC: WinXP SP2 Beta and VS.Net 2003.
>>
>>I get the same error with the new build(1.0.65.84) too. I have a bug
>>report opened too Tracker Request # 796. But this pretty stops me from
>>doing anything with R# so I thought I would try my luck here.
>>
>>
>>Any Idea how I can get R# running?
>>
>>
>>Vasanth
>>http://www.vasanthdharmaraj.com
>
>
>



0
Avatar
Permanently deleted user

Dmitry,

Woohoo, That did it. Now I have ReSharper working. Thanks a lot for your
help.

Vasanth


Dmitry Shaporenkov(JetBrains) wrote:

Vasanth,

it seems that the RegAsm.exe cannot load Extensibility.dll assembly (on
which ReSharper assemblies depend).
Extensibility.dll is a constituent part of VS.NET, so it isn't shipped with
ReSharper.
We supposed that the Extensibility.dll is in the Global Assembly Cache, but
on your machine it isn't for unknown
reasons. However, Extensibility.dll should be in the VS.NET PublicAssemblies
folder (on my machine this is at:
"C:\Microsoft Visual Studio .NET 2003\Common7\IDE\PublicAssemblies\")

So please copy Extensibility.dll from the PublicAssemblies folder into
ReSharper installation directory, so that RegAsm.exe
can find it during registration. Then try to run (in ReSharper install dir)
Registrar.exe /register again.

Please let us know if this helps.

"Vasanth Dharmaraj" <vazz@mailinator.com> wrote in message
news:c12t8u$e4a$1@is.intellij.net...

>>Dmitry,
>>
>>The files you mention are present in the PrivateAssemblies. But when I
>>run Registrar.exe /register I get the following exception.
>>
>>RegAsm error: File or assembly name Extensibility, or one of its
>>dependencies, was not found.
>>An exception has occurred during registration.
>>Details:System.NullReferenceException: Object reference not set to an
>>instance of an object.
>> at Registrar.RegisterKey(RegistryKey parentKey, XmlElement key,
>>Boolean delete)
>> at Registrar.RegisterKey(RegistryKey parentKey, XmlElement key,
>>Boolean delete)
>> at Registrar.RegisterUnderVSRoot(XmlDocument xmlConfigFile, Boolean
>>register)
>>
>>I tried Registrar.exe /register /copy too. I get the same error.
>>
>>Am I still missing some files?
>>
>>
>>Vasanth
>>
>>
>>
>>Dmitry Shaporenkov(JetBrains) wrote:
>>
>>
>>>Vasanth,
>>>
>>>please check up the following things:
>>>
>>>1) Examine the contents of VS.NET Private Assemblies folder. The folder


is

>>>located at
>>>
>>>"C:\Microsoft Visual Studio .NET 2003\Common7\IDE\PrivateAssemblies\"
>>>
>>>(of course, you should replace path prefix so that it reflects VS
>>>installation folder on your system).
>>>
>>>Make sure that the following assemblies are in the PrivateAssemblies


folder:

>>> Microsoft.VisualStudio.*.dll
>>> JetBrainsShared.dll
>>> ReSharper.dll
>>> Services.dll
>>> CookComputing.XmlRpc.dll
>>>
>>>If you can't find some of these files (they are copied during ReSharper
>>>installation), the problem is clear, because these files need
>>>to be in the PrivateAssemblies for ReSharper to work. Please go to the
>>>ReSharper installation directory (which is typically located at
>>>"C:\Program Files\JetBrains\ReSharper\") and try run the following


command

>>>in this directory:
>>>
>>>
>>>
>>>>Registrar.exe /register /copy
>>>
>>>
>>>This command should copy all the abovementioned files into the
>>>PrivateAssemblies (essentially, it mimics what happens during


installation).

>>>Please check if the files are really copied. If they aren't,
>>>PrivateAssemblies folder is likely to be inaccessible for some reason


(make

>>>sure you have rights to write into this folder).
>>>
>>>2) If Private Assemblies is OK, may be the problem is in the registry
>>>information. Try re-register ReSharper by running
>>>
>>>
>>>
>>>>Registrar.exe /register
>>>
>>>
>>>as described above.
>>>
>>>Please let us know if it helps or if you still experience the problem.
>>>
>>>"Vasanth Dharmaraj" <vazz@mailinator.com> wrote in message
>>>news:c112h9$n8r$1@is.intellij.net...
>>>
>>>
>>>>When I start VS.Net after installing ReSharper it does not startup. I
>>>>get the following error:
>>>>
>>>>----


>>>>Microsoft Development Environment
>>>>----


>>>>The Add-in 'ReSharper for VS.NET, version 1.0.64.2' failed to load or
>>>>caused an exception.
>>>>Would you like to remove this Add-in?
>>>>If you choose yes, you will need to reinstall the Add-in to use it


again.

>>>>Error Message: Class not registered
>>>>
>>>>
>>>>Error number: 80040154
>>>>----


>>>>Yes No
>>>>----


>>>>
>>>>I tried uninstalling and reinstalling I get the same error. Here are
>>>>details of my PC: WinXP SP2 Beta and VS.Net 2003.
>>>>
>>>>I get the same error with the new build(1.0.65.84) too. I have a bug
>>>>report opened too Tracker Request # 796. But this pretty stops me from
>>>>doing anything with R# so I thought I would try my luck here.
>>>>
>>>>
>>>>Any Idea how I can get R# running?
>>>>
>>>>
>>>>Vasanth
>>>>http://www.vasanthdharmaraj.com
>>>
>>>
>>>


0

Please sign in to leave a comment.