.NET core support Building a NuGet Package


I am having trouble with the .NET core support plugin, and my build steps.

When using the autodetect build step, the wizard generates 2 build steps for me.

  1. Donet Restore
  2. Donet Build

I need to add a third step that packs the application to a NuGet Package, so that it can be used by my deployment server.

I tried to set up an new build step with the following conditions:

Runner: Dotnet Core (the plugin)

Command: pack

This compiles and builds successfully, but I can’t find my Nuget Package anywhere, and I’m in doubt if its has been packed at all.

Can anyone point me in the right direction?

1 comment

My solution was to use the publish step which gave me a zip file, that I could use to push to my artifacts. For now I don't think that there is a good solution to use pack, to get what I want.


Please sign in to leave a comment.