.Net Core 2.0 (and ms build 15), automatic publication of the nuget package does not work

Xambey's Avatar


15 Jul, 2018 02:52 PM

hi all
I want to publish the package on the project page on nuget.org
Tell me please, what's wrong with my config, that there isnt call to nuget pack, although there is publish_nuget in the config: true?
Or do you have script examples for .net core?

Structure of project:
                           __ //... sources

Now the build is being done, tests are being run, and then the system tries to send packets instead of packing dll into the package.
The project is build under .net core 2.0

Сonfig file attached (appveyor.yml)

Build log file attached log.txt ( https://ci.appveyor.com/project/Xambey/dadataapiclient )

Text for the lazy:

version: 1.0.{build}
  - master
skip_branch_with_pr: true
image: Visual Studio 2017
configuration: Release
shallow_clone: true
  patch: true
  file: '**\*.csproj'
  version: '{version}'
  package_version: '{version}'
  assembly_version: '{version}'
  file_version: '{version}'
  informational_version: '{version}'
  - TOKEN:
      secure: EFVcZzUo9GxQ+slLBFQc2zhFzlfA9gULAy0cXu5m6mQbyzRYLxnAw3F+Z0Qx0Jef
      secure: Wz456M9HIV13gTGBd4Eh1F+EsMcmwKgqJhG44BFaXTdC0TyX3k02vAoqOSMo9Xd7
  project_feed: true
- ps: nuget restore
  publish_nuget: true
  verbosity: minimal
- path: '*\*.nupkg'
- provider: NuGet
    secure: MgLMMGChxGhyyhSrWuntCcR83vpMU7geCo8YfmNVFbW8FLtf/GZqQLd3ZdNoMMzY
  skip_symbols: true
  artifact: '*\*.nupkg'
    branch: master
- provider: GitHubPullRequest
  on_build_success: true
  on_build_failure: false
  on_build_status_changed: false

  1. 1 Posted by Ilya Finkelshte... on 16 Jul, 2018 05:25 AM

    Ilya Finkelshteyn's Avatar

    Please check PR and this discussion and specifically this answer.

  2. Ilya Finkelshteyn closed this discussion on 15 Sep, 2018 09:00 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