No Artifact on Successful Build

ivan.chong's Avatar

ivan.chong

24 Mar, 2014 08:47 AM

Hey Feodor,

I successfully built my project, xaavan-batchprocessor-fork. It is a .NET application (exe).
However, there was no artifact generated. Attached is the log file.

I built another project, xaavan-web-fork, an ASP.NET web application. An artifact was generated.
Why does this have an artifact but the other dont?

Awaiting your reply =)

Thanks,
Ivan

  1. Support Staff 1 Posted by Feodor Fitsner on 24 Mar, 2014 11:53 PM

    Feodor Fitsner's Avatar

    Hi Ivan,

    Make sure "package web application projects" is enabled on project Build settings.

    - Feodor

  2. 2 Posted by ivan.chong on 25 Mar, 2014 01:17 AM

    ivan.chong's Avatar

    Hey Feodor,

    It's a .NET Application (.exe).

    I have checked "package web application projects", as shown in the screenshot.

  3. Support Staff 3 Posted by Feodor Fitsner on 25 Mar, 2014 01:24 AM

    Feodor Fitsner's Avatar

    OK, AppVeyor automatically packages only those kinds of projects (web apps,
    Azure CS, NuGet packages).
    You could setup packaging of your app on "Artifacts" tab of project
    settings: http://www.appveyor.com/docs/packaging-artifacts

    Best regards,
    Feodor Fitsner

    Skype: feodor.fitsner
    LinkedIn: linkedin.com/in/fitsner <http://www.linkedin.com/in/fitsner>
    Twitter: @appveyor <https://twitter.com/appveyor>

  4. 4 Posted by ivan.chong on 25 Mar, 2014 05:46 AM

    ivan.chong's Avatar

    Thanks Feodor. It works beautifully.

    It would be helpful if we could have shell access to the build VM though, for simple functions like "dir/ls"

  5. Support Staff 5 Posted by Feodor Fitsner on 25 Mar, 2014 02:50 PM

    Feodor Fitsner's Avatar

    Yeah, we plan such a feature in the future, thanks!

    - Feodor

  6. 6 Posted by tony on 25 Mar, 2014 08:09 PM

    tony's Avatar

    Fun fact: because the VM's have Git installed, they also have MSYS. So you can run "sh -c ls" or "sh --login my_bash_script.sh" as part of your build_script and it'll work. Or you can do cmd functions like dir as lines in your build_script.

  7. Support Staff 7 Posted by Feodor Fitsner on 25 Mar, 2014 08:13 PM

    Feodor Fitsner's Avatar

    Absolutely, thanks for the tip!

  8. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:38 AM.

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