Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why won't MSpec integrate with ReSharper 6?

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 :(

like image 233
Tim Long Avatar asked Nov 12 '11 05:11

Tim Long


2 Answers

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

like image 195
Ritch Melton Avatar answered Nov 03 '22 15:11

Ritch Melton


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

like image 1
Vamshidhar Behara Avatar answered Nov 03 '22 14:11

Vamshidhar Behara