How Resharper to load the modified Machine.Specifications.dll

31 views
Skip to first unread message

Sendy Dou

unread,
Sep 28, 2014, 5:09:48 AM9/28/14
to machin...@googlegroups.com
@agross I am working on https://github.com/machine/machine.specifications , and try to make some change to make it run test case multi-threads. ok.. this is the context.
My problem is I modify the source code and I am running the test cases of machine.specifications solution using Resharper, but I am confused how the resharper to know to load the latest/changed specifications.dll or exe.
Because as my understanding the ReSharper only load the Sepecificartions.dll from C:\Users\Administrator\AppData\Roaming\JetBrains\ReSharper\v8.2\Plugins\mspec

Alexander Groß

unread,
Sep 28, 2014, 6:15:21 AM9/28/14
to machin...@googlegroups.com

Beste Grüße,

Alex
-- 
Alexander Groß
http://therightstuff.de/

--
You received this message because you are subscribed to the Google Groups "machine_users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to machine_user...@googlegroups.com.
To post to this group, send email to machin...@googlegroups.com.
Visit this group at http://groups.google.com/group/machine_users.
For more options, visit https://groups.google.com/d/optout.

Sendy Dou

unread,
Sep 28, 2014, 6:47:26 AM9/28/14
to machin...@googlegroups.com
thanks for the post, Alex.

I read the articles carefully twice, not sure if i understand correctly. So do you mean if I do not do the preparations as you list on the article.
The ReSharper would not use the modified Machine.Specifications.dll to run the unit test of Machins.Specifications solution.

Alexander Groß

unread,
Sep 28, 2014, 6:56:01 AM9/28/14
to machin...@googlegroups.com
1. You need the new root suffix to have VS *not* load the "global" ReSharper plugin from C:\Users\Administrator\AppData\Roaming\JetBrains\ReSharper\v8.2\Plugins\mspec
2. You need to run the debugged VS instance with /rootsuffix and /ReSharper.Plugin to have the (empty) "mspec"-suffixed VS instance that you're going to to debug with the compiled runner from your modified project
3. This is needed because ReSharper does not support loading the runner from two locations (global and your MSpec repo)

Beste Grüße,

Alex
-- 
Alexander Groß
http://therightstuff.de/

Sendy Dou

unread,
Sep 28, 2014, 9:36:05 AM9/28/14
to machin...@googlegroups.com
Thanks for that.

I did not do any pre-step you mentioned, but only open the solution file directly. But when I made some changes to the source code of Machine.Specification, the new code take effect when run the unit test of Machine.Specifiction.  



On Sunday, September 28, 2014 6:15:21 PM UTC+8, Alexander Groß wrote:
Reply all
Reply to author
Forward
0 new messages