views:

17

answers:

1

Hi,

I have a problem which has received plenty of attention which, despite much googling, I have been unable to resolve. I have a Test Project attached to my Visual Studio 2010 MVC 2 Application. When I attempt to run my tests, I get:

"no tests were run because no tests are loaded or the selected tests are disabled."

Following this, I followed the instructions in these posts, to no avail:

Furthermore, the output console reports:

"Could not load file or assembly 'file://\shared\shared\IT\Development\TPS\TPS.Tests\bin\Debug\TPS.Tests.dll' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515)"

I have confirmed the build settings on the Test Project are the same as those for the main project (Any CPU targeted).

Therefore, is it a problem accessing the resource over network share? Otherwise, does anyone have a suggestion?

Thanks in advance for your time.

Tim.

A: 

Having your source code on a share is plain wrong (period) and will lead to all sorts of 'gremlins'.

Do yourself a favour, use Source Code Control and have a local copy of the source code. You will waste alot less time, and as a bonus you will be able to track who changed what.

If you go with TFS, the Visual Studio TFS Branching Guide 2010 is a valuable resource.

If you use SubVersion, then the Red Bean Book is excellent.

Mitch Wheat
alright, i'll check it out
nulliusinverba
Don't just check it out, do it! ;)
Mitch Wheat
Haha - all good. Works fine now. Thanks alot for your help, mate!
nulliusinverba