How to stop BuildScript when there is any error in any project.
-
Hi All, I m building my solutions through command line (devenv.exe). But the problem is that if build for any project gets failed the script keep running and dosen't stop.How is it possible that i can stop the build file as soon as any error in any project or solution occurs. Thanx a lot in advance.
It's not enough to be the best, when you have capability to be great....
-
Hi All, I m building my solutions through command line (devenv.exe). But the problem is that if build for any project gets failed the script keep running and dosen't stop.How is it possible that i can stop the build file as soon as any error in any project or solution occurs. Thanx a lot in advance.
It's not enough to be the best, when you have capability to be great....
-
When building, you may use Ctrl+Break to stop it. If you are building using a command line(console), Ctrl+C :)
I m not going to sit and watch are there any error every time (since it's used for continuous integration ) i want something that should stop on it's own.
It's not enough to be the best, when you have capability to be great....
-
Hi All, I m building my solutions through command line (devenv.exe). But the problem is that if build for any project gets failed the script keep running and dosen't stop.How is it possible that i can stop the build file as soon as any error in any project or solution occurs. Thanx a lot in advance.
It's not enough to be the best, when you have capability to be great....
-
Pavan_Putra wrote:
How is it possible that i can stop the build file as soon as any error in any project or solution occurs.
Is there such an option on devenv? What does the documentation say?
No they don't even talk about it.I had already gone through the documentation and other options there is no such option. I think there is only one option that you can use, "/Out" parameter to save build log and later check if there were any errors in your build. I have used the same as there is no option remaining any more.
It's not enough to be the best, when you have capability to be great....
-
No they don't even talk about it.I had already gone through the documentation and other options there is no such option. I think there is only one option that you can use, "/Out" parameter to save build log and later check if there were any errors in your build. I have used the same as there is no option remaining any more.
It's not enough to be the best, when you have capability to be great....
Pavan_Putra wrote:
I had already gone through the documentation and other options there is no such option.
That seems like your answer then. In my experience most of the autogenerated scripts in VS run to completion while logging errors, allowing you to review all the errors at the end of the build.