ReSharper 5.0 and Nunit

Hi,

I have been using Resharper 4.5 (and versions previous to it as well..) for quite sometime now, and I had no issues running any of my Nunit tests.
I recently got Resharper 5.0 Beta and am not able to run any of the same unit tests. All of them fail with the same exception "AppDomain is not running in the correct security mode". The reason being Thread.CurrentPrincipal.Identity does not come back as a valid Windows Identity.
Could this be because Resharper is running unit tests as a different user??
If I run the same tests using nunit console, they all pass without an issue....
I also tried uninstalling Resharper 5.0 and getting back to 4.5....but for some reason the Visual Studio add in never seemed to work, it would just throw an error The Add-in 'JetBrains Resharper 4.5' failed to load or caused an exception, with file Product.VisualStudio.90.AddIn not found exception...
So I had to go back to 5.0 still unable to run Nunit tests...

Any help is greatly appreciated.

1 comment
Comment actions Permalink

Hello,

I have got almost the same problem. I have installed the demo version of resharper 5.0, uninstalled it and reinstalled version 4.5 again. Result 4.5 won't work anymore message; The Add-in 'JetBrains Resharper 4.5' failed to load or caused an exception, with file Product.VisualStudio.90.AddIn not found exception...
What can I do?

Thanks in advance

Bart

0

Please sign in to leave a comment.