开发者

run nant build file in command prompt using c#

I have a build file with nant n开发者_如何转开发ow all I need to do is execute it with command prompt using c# I tried the below but I am not able to build it ..

System.Diagnostics.Process.Start("exe -buildfile:d:\buildfile.build);

and when I am running through cmd prompt directly it is working


Have you setup nant as an environment variable?

System.Diagnostics.Process.Start("nant.exe -buildfile:d:\buildfile.build);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜