Question

I'm having trouble with getting MSpec to work with ReSharper 6. I've just installed MSpec from the NuGet package:
Installed MSpec from NuGet

Next, I've quit from Visual Studio, opened an elevated command prompt and run the install script from the packages\tools folder:
enter image description here

And finally, reloaded Visual Studio. No dice! No icons in the text editor and no plugin shows up in the ReSharper options.
enter image description here

What am I doing wrong? The MSpec site says this is supposed to work :(

Was it helpful?

Solution

I hand copied:

Machine.Specifications.dll and Machine.Specifications.ReSharperRunner.6.0.dll

to the "%APPDATA%\JetBrains\ReSharper\v6.0\vs10.0\Plugins" folder

as per the instructions, but the integration didn't appear until I had restarted VS2010 and re-loaded the solution.

MSpec for Resharper 6

enter image description here

OTHER TIPS

Windows blocks DLL's that have been downloaded from the internet. Unblock the Machine Specification DLL's from a folder that does not require admin rights and put them back into the Resharper plugins folder. Restart your Visual Studio and reload your project, ReSharper should pick up your MSpec tests.

Useful Link: Help configuring MSpec

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top