nupkg for ASP.NET 5 build

  1. Hi Tom,

    This should work I guess for ASP.NET 5 projects too: http://www.appveyor.com/docs/nuget#configuring-appveyor-nuget-feeds...

  2. Hi Feodor,

    I think my question was not that clear. It is about the packages that my project produces, not about those that it consumes.
    The build log shows it is copying the nugget files at some point, but I have no idea where.
    The ASP.NET 5 builds, use a build.cmd script.

    Wkr,

    Tom

  3. So, project A produces nuget packages that are pushed to a project nuget feed and the questions is how to grab those packages in project B?

  4. project A produces some nugget packages, how to get them into the project A nuget feed?

    The build log shows nupkg packages are copied. I would like to get those in the project nuget feed.
    e.g.: Copying Tmds.SockJS.0.3.0-t150807102007.nupkg

  5. OK, got it. Whenever you push nuget package to artifacts it's getting published in account and project feeds automatically: http://www.appveyor.com/docs/packaging-artifacts

  6. I tried configuring this using the Artifacts section in the settings.
    I added an artifact line with the following settings:
    - path to artifact: '**\*.nupkg'
    - deployment name: nupkg
    - type: auto

    I did a build.
    When I open the nuget feed in the browser it looks empty. Also adding the feed to Visual Studio shows no packages.

    Did I get the settings wrong? Should the build log show when the artifacts are published on the nuget feed?

  7. Do you see those packages on "Artifacts" tab of project build results page?

  8. No, there is a text saying 'The build job does not contain any artifacts.

  9. That means nuget packages are not uploaded to artifacts.

    Do you use appveyor.yml by chance or all settings via UI?

  10. I have some settings in appveyor.yml others are in the UI.

    This is the appveyor file: https://github.com/tmds/Tmds.SockJS/blob/master/appveyor.yml

  11. With appveyor.yml settings on UI are ignored (except environment variables and notifications).

    You could add artifacts to appveyor.yml:

    artifacts:
    - path: '**\*.nupkg'
    
  12. Works like a charm. Thanks.
    Perhaps the documentation and UI can improve to better highlight this limitation.

  13. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:59 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