How to disabled shadow copy in nunit from console exe

谁都会走 提交于 2019-12-13 18:28:32

问题


I am trouble with loading Nunit test dll. The test dll is using some other exe which copied few directory and files when they builds.

I have recevied that error when call test.dll from nunitconsole.exe

System.IO.DirectoryNotFoundException: Could not find a part of the path 

The console parameters are as follows:

C:\Program Files (x86)\NUnit 2.6.2\bin\nunit-console.exe" /xml:"C:\abc.xml" "D:\Project\UnitTestProjct\RGTestingToolTestProject\NUnitTestProject\bin\Debug\NUnitTestProject.dll"

Please help me


回答1:


You can do this by using /noshadow:false in your console parameters.

the detailed information about the Nunit parameters are given that Link



来源:https://stackoverflow.com/questions/26337677/how-to-disabled-shadow-copy-in-nunit-from-console-exe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!