How to configure Nuget Publish using only the UI

mikehan99's Avatar


27 Nov, 2014 02:58 PM

I have a very simple project, 1 class library and 1 test project, and I would like to setup a simple continuous deployment scenario. I.e: package and deploy to only on master branch.

I have spent some time studying the docs, and reading the support tickets around this area, but always it looks as though it must be done using appveyor,yml.

Please could you provide more detail on how to achieve this using the UI - for example nuget pack: I enable this in the UI and I see a line in the console:
Packaging artifacts...Done
but what happened? where did it search, if it found my .nuspec file (in the same folder as my .csproj file) where does it put the resulting .nupkg?

I can force the creation of my .nupkg using appveyor.yml and push this as an artifact, but then it is not published to nuget. Again I see many people using .yml to do this as well, but this is a step I don't want to commit to my repo, and it appears as though I should be able to achieve it, so please tell me the missing part.

Many thanks

  1. Support Staff 1 Posted by Feodor Fitsner on 27 Nov, 2014 08:04 PM

    Feodor Fitsner's Avatar

    Look at this sample project of very simple NuGet package: (ignore appveyor.yml for now).

    The trick here is that .nuspec should be in the same folder with .csproj and have the same name before extension.

    With "AssemblyInfo patching" enabled on General tab of project settings and "Package NuGet projects" on Build tab I have NuGet package in Artifacts and published into project/account feeds:

  2. 2 Posted by mikehan99 on 29 Nov, 2014 11:45 AM

    mikehan99's Avatar

    that's great thanks - I missed the part in the docs that states .yml and UI settings are mutually exclusive.

  3. mikehan99 closed this discussion on 03 Dec, 2014 11:45 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