tag:help.appveyor.com,2012-11-13:/discussions/questions/1038-how-to-build-aspnet-5-applicationsAppVeyor: Discussion 2018-10-19T08:17:02Ztag:help.appveyor.com,2012-11-13:Comment/361238602015-02-24T16:39:56Z2015-02-24T16:39:56ZHow to build ASP.net 5 applications<div><p>I think it's not k-specific problem. AppVeyor relies on either
process non-zero exit code or PowerShell exceptions to decide
whether build should be terminated.</p>
<p>Your build is being run as a single <code>build.cmd</code> thus
AppVeyor "sees" only the exit code returned from
<code>build.cmd</code>. You should improve your
<code>build.cmd</code> to check exit code after each call to
<code>kpm build</code> (and possible other parts) and if it's not
<code>0</code> go to some <code>exit</code> label and return that
code outside.</p>
<p>Hope that helps.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/361238602015-02-25T21:35:36Z2015-02-25T21:35:36ZHow to build ASP.net 5 applications<div><p>Thanks - that seems to have fixed it.</p></div>Kevin Kuszyk