A quick glance at the gallio source code at Gallio.ResharperRunner showed me that someone allready wrote the code. I could not find any distributions over at the Gallio Build Server, so I pulled the latest R#Runner code from SVN. (I got rev 3359) and compiled the v3\src\Extensions\ReSharper\Gallio.ReSharperRunner\Gallio.ReSharperRunner70.vs2010.csproj
in VS2012.
The project was changed so that it references c:\Program Files\Gallio\bin\gallio.dll
, and I also changed the Gallio.ReSharperRunner70.plugin
file to "Content" and PreserveNewest (Instead of do not copy)
Then I copied the following 3 files from the debug\bin
folder to C:\Users\MYUSERNAME\AppData\Local\JetBrains\DotNet\vAny\Plugins
:
- Gallio.dll
- Gallio.ReSharperRunner70.dll
- Gallio.ReSharperRunner70.plugin
Voila - MbUnit tests can be executed in VS2012 using Resharper 7
NB: Not sure the ResharperRunner code is 100% stable - I seem to notice some glitches, but at least my tests are again appearing in R#.
I will upload the compiled files once I figure out how to attach files to a question.
Hmm - couldn't figure out how to do that, so I uploaded it to my website at http://www.albrektsen.net/Gallio.ResharperRunner70.zip