How to build ASP.net 5 applications

Kevin Kuszyk's Avatar

Kevin Kuszyk

24 Feb, 2015 10:34 AM

Can you advise how to build ASP.net 5 applications in AppVeyor? (or if this is even supported yet!)

We are building our projects using k build, but sometimes the build is reported as a success when there were complication errors:

Is this the recommended approach, and can you advise how to prevent false positives?

  1. Support Staff 1 Posted by Feodor Fitsner on 24 Feb, 2015 04:39 PM

    Feodor Fitsner's Avatar

    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.

    Your build is being run as a single build.cmd thus AppVeyor "sees" only the exit code returned from build.cmd. You should improve your build.cmd to check exit code after each call to kpm build (and possible other parts) and if it's not 0 go to some exit label and return that code outside.

    Hope that helps.

  2. 2 Posted by Kevin Kuszyk on 25 Feb, 2015 09:35 PM

    Kevin Kuszyk's Avatar

    Thanks - that seems to have fixed it.

  3. Kevin Kuszyk closed this discussion on 25 Feb, 2015 09:35 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

22 Mar, 2019 07:18 PM
22 Mar, 2019 02:20 PM
22 Mar, 2019 11:00 AM
22 Mar, 2019 02:51 AM
22 Mar, 2019 12:46 AM

 

21 Mar, 2019 08:34 PM
21 Mar, 2019 05:38 PM
21 Mar, 2019 06:16 AM
20 Mar, 2019 11:39 PM
20 Mar, 2019 09:03 PM
20 Mar, 2019 08:55 PM