Test runner executed builds (is there a difference?)

I'm trying to run unit tests on every build and I have NUnit from the MSBuild community tasks doing that job.   The problem is that I'm executing the tests twice when I decide I want to use the resharper test runner and it rebuilds my test project.   Is there any way to tell (from MSBuild) that resharper test runner is executing the build.  An enviornment variable, property or condition that I might be able to check??

Any help or pointer in the right direction would be great.

- Windows Vista x64 SP1. UAC disabled
- Resharper 4.1 licenced
- VS 2008 SP1



Please sign in to leave a comment.