.NET Core "Package NuGet projects" option does not produce any build artifacts

rbonestell's Avatar

rbonestell

07 Dec, 2018 05:55 PM

I have the "Package NuGet projects" option enabled in the Build section of my project in the AppVeyor config UI (there is no YAML file in my repo) and have a .nuspec file in the project I'm looking to package.

I followed the instructions from the documentation here: https://www.appveyor.com/docs/nuget/#automatic-publishing-of-nuget-...

When the build occurs I see the dotnet pack command, but there are no items in the resulting build artifacts tab.

dotnet pack "C:\projects\dukptcore\DUKPTCore\DUKPTCore.csproj" --configuration Release --output "C:\Users\appveyor\AppData\Local\Temp\1\drkbvov47e" --no-build

Therefore using the Deploy features I can't find a .nupkg file to push to my destination NuGet feed.

Here's the build: https://ci.appveyor.com/project/rbonestell/dukptcore
Here's the code: https://github.com/rbonestell/DUKPTCore

  1. 1 Posted by rbonestell on 07 Dec, 2018 06:06 PM

    rbonestell's Avatar

    Also, here's the config YAML exported from the UI:

    version: '{build}'
    image: Visual Studio 2017
    configuration: Release
    platform: Any CPU
    before_build:
    - cmd: nuget restore
    build:
      publish_nuget: true
      verbosity: minimal
    artifacts:
    - path: bin\$(configuration)\*.nupkg
      name: NuGet Package
    deploy:
    - provider: NuGet
      api_key:
        secure: -omitted-
      skip_symbols: true
      artifact: /.*\.nupkg/
      on:
        branch: master
    

    Regardless of the paths which I'm looking for artifacts, no artifacts are shown as a result of the build: https://ci.appveyor.com/project/rbonestell/dukptcore/build/artifacts

  2. 2 Posted by rbonestell on 07 Dec, 2018 09:11 PM

    rbonestell's Avatar

    I believe I've resolved this by eliminating the .nuspec file and putting the properties in the .csproj file...

    However, I've upgraded my project to 2.2 and it appears the build image can't support dotnet core 2.2... a new support ticket perhaps?

  3. rbonestell closed this discussion on 07 Dec, 2018 09:36 PM.

  4. Owen McDonnell re-opened this discussion on 07 Dec, 2018 10:41 PM

  5. Support Staff 3 Posted by Owen McDonnell on 07 Dec, 2018 10:41 PM

    Owen McDonnell's Avatar

    It's scheduled for next image update.
    https://github.com/appveyor/ci/issues/2758

  6. Ilya Finkelshteyn closed this discussion on 07 Feb, 2019 09:00 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

 

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