nunit network drive, failing to load tests -


We currently develop on a mapped drive. When I write a test against a test assembly, it will pick up the assembly, though does not recognize any test.

If I move the solution to a local drive etc. and referencing it then everything works fine.

I really want to know why this is happening, and how can I use a network drive for development.

per, apparently there is not proper permission to reach the assembly on the network drive. Adding a post-build event to copy the suggested fix assembly to the local local temporary directory and closing the NUnit copied assembly:

  1. Within VS, the project Open the property. / Li>
  2. Go to the Build Event tab and enter the following 'Post-Build Event Command Line':

    del / qc: \ temp \ nunit *. *

    Copy "$ (TargetDir) . " c: \ temp \ n secluded

The potential problem you may have is the result of this change related to the app. To include C: \ Temp \ NUnit's app base, update the settings element inside the .nunit file, then update the path of the assembly element to remove any leading directory information.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -