Is it possible to ignore post build events?

hargitomi97's Avatar


02 Nov, 2018 04:44 PM

Hello everyone!
I have a project in visual studio, with a post-build event that I need. Can I write something into appveyor.yml to ignore this post build event?


  1. Support Staff 1 Posted by Owen McDonnell on 02 Nov, 2018 09:45 PM

    Owen McDonnell's Avatar

    Do you mean that you want to replace the post build event in the project file with something in the appveyor.yml instead?

  2. 2 Posted by hargitomi97 on 02 Nov, 2018 09:52 PM

    hargitomi97's Avatar

    I would like appveyor to completely ignore that post build event, even though it is written in my visual studio project's build event section.
    The point is that the post build event would only run locally on my computer, I dont want it to be built in AppVeyor.

  3. Support Staff 3 Posted by Owen McDonnell on 02 Nov, 2018 11:51 PM

    Owen McDonnell's Avatar

    What about a conditional statement within the post build event element as suggested here?

  4. 4 Posted by hargitomi97 on 04 Nov, 2018 08:48 AM

    hargitomi97's Avatar

    Thats a good idea, thanks for your help, it works.

  5. Owen McDonnell closed this discussion on 05 Nov, 2018 04:47 PM.

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

Keyboard shortcuts


? 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