Reputation: 43
I have a build file with nant now 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
Upvotes: 1
Views: 6105
Reputation: 1388
Have you setup nant as an environment variable?
System.Diagnostics.Process.Start("nant.exe -buildfile:d:\buildfile.build);
Upvotes: 2