Starting NUnit runner (2.6.3) from Visual Studio -


i followed instructions here use "start external program" start nunit on test project's dll. nunit starts, error "this assembly not built known testing framework"

i can run same assembly same nunit.exe command line fine...

nunit.exe version 2.6.3

nunit.exe.config follows:

<configuration>   <!--    gui runs under .net 2.0 or higher.    uselegacyv2runtimeactivationpolicy setting    applies under .net 4.0 , permits use of mixed     mode assemblies, otherwise not load     correctly.   -->     <startup uselegacyv2runtimeactivationpolicy="true">         <!-- comment out next line force use of .net 4.0 -->     </startup>     <runtime>         <!-- ensure test exceptions don't crash nunit -->         <legacyunhandledexceptionpolicy enabled="1"/>         <!-- run partial trust v2 assemblies in full trust under .net 4.0 -->         <loadfromremotesources enabled="true"/>         <!-- addins in addins directory -->         <assemblybinding xmlns="urn:schemas-microsoft-com:asm.v1">             <probing privatepath="lib;addins"/>         </assemblybinding>     </runtime> </configuration> 

ok, answer had put command line argument in quotes.

e.g.

"c:\svn\_branches\bug-2261\product\producttests\bin\debug\producttests.dll" 

i thought @ first might because there spaces in folder path dll there aren't. still need quotes make work.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -