Debugging visual studio 2012 plugin impossible due to Resharper...?!

Hi there,

I've been using resharper for a long time and have been really happy with the product! :)

That beeing said though - it seems that developing visual studio plugins is impossible at the moment, due to the following issue caused by resharper:

The following exception keeps repeating when creating a CSharp console application and opening a CSharp file in the Visual Studio debug instance:
A first chance exception of type 'JetBrains.ReSharper.Psi.Parsing.UnexpectedToken' occurred in JetBrains.ReSharper.Psi.CSharp.dll

It just keeps repeating... and pretty much freezing the Visual Studio debug instance.

This is how I reproduced it:

1. Create a visual studio AddIn project - alternatively create a Resharper plugin project.

2. Start debugging the plugin - which will open a new visual studio instance.

3. Create a new CSharp project of any kind (console / lib etc...) in the instance that is beegin debugged.

4. Open any .cs file.

5. Now the exception is beeing thrown.

I have tried this with both resharper 7.1.3 (the build on the website) and also with the 8.0 beta.

Do you have any workaround for this? (other than suspending resharper in the debugged instance... which solves the issue... but then I can't debug the Resharper plugin we are planning do develop...)

Hope you can point me out to some solution!

Thank you,


Please sign in to leave a comment.