Can't use ReSharper
Hi guys. I got several exceptions after install Resharper 1.5.1.
What I do:
1. Install VS 2003,
2. Copy default keyboard layout in VS settings
3. install Resharper 1.5.1
4. run VS and got before license screen
"System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for "Psi.Impl.Reflection.SystemLibrariesContainerImpl" threw an exception. ---> System.TypeInitializationException: The type initializer for "JetBrains.ReSharper.Util.PathUtil" threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object."
5. tring post bug to tracker also get exception while connect(but this worked for Idea tracker)
Also I didnt find such issue in tracker on this website
Please help me.
Thanks.
Please sign in to leave a comment.
Hello Alex,
What directory did you install ReSharper to? Could you also search for all
places where JetBrains.ReSharper.Util.dll is located on your computer?
Thanks,
Andrey Simanovsky
Hi Andrey.
I'm install ReSharper to default dir:
"C:\Program Files\JetBrains\ReSharper"
and VS 2003 in "e:\C#\Studio".
About JetBrains.ReSharper.Util.dll:
is located in "C:\Program Files\JetBrains\ReSharper"
and in "E:\C#\Studio\Common7\IDE\PrivateAssemblies"
Hello Alex,
The problem is with the number sign ('#') present in the path to the ReSharper.Util.dll.
Right now I cannot think of any workaround except installing VS to some other
location. I have added the issue to our tracker (http://www.intellij.net/tracker/resharper/viewSCR?publicId=6894).
We will fix it in the nearest build.
Thanks,
Andrey Simanovsky