First time using AppVeyor. How can I make it automatically clone git submodules, download required NuGet packages?

Noah Sherwin's Avatar

Noah Sherwin

30 Apr, 2021 04:26 AM

1. How do I make AppVeyor clone git submodules?
2. How do I make AppVeyor download and install NuGet dependencies so I can get my first automated build working?

  1. Support Staff 1 Posted by Feodor Fitsner on 01 May, 2021 07:20 PM

    Feodor Fitsner's Avatar

    Hi Noah,

    You can add your own commands on "Install" step or "Before build", right after sources cloned, something like (excerpt from appveyor.yml):

    - git submodule init
    - git submodule update
    - nuget restore

    Hope that helps.

  2. 2 Posted by Noah Sherwin on 06 May, 2021 08:28 AM

    Noah Sherwin's Avatar

    That got me on the right track. Thank you! I still other issues to figure out before I can get builds working, however. If I need help, I'll open another discussion.

    Thank you again for your time, Feodor!

  3. Noah Sherwin closed this discussion on 11 May, 2021 12:42 AM.

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