2009-05-19 6 views
2

どのようにすればnunit-consoleで実行するDLLのパスを指定できますか?nunit-consoleにパスを指定する

私は通常、コマンドプロンプトでnunit-console testassembly1.dllを与えます。ここで、assembly1.dllはnunit-console.exeと同じパスにありますが、別のパスでDLLを実行できます。

答えて

6

あなたは、単にコマンドラインにパスを追加することができます:あなたのパスにスペースが含まれている場合は、

nunit-console.exe c:\path\testassembly1.dll 

引用符でパスとファイル名を囲む:

nunit-console.exe "c:\path with spaces\testassembly1.dll"