Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Create and publish NuGet packages from Visual Studio to VSTS

Notifications You must be signed in to change notification settings

dimesoftware/publishnugettovsts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pack and Publish NuGet packages to VSTS package feed

Build status

This repository contains code for a Visual Studio Extension to create a NuGet package for a .csproj file and to publish it to a VSTS feed.

Prerequisites

  • There is an existing feed at your disposal on VSTS.
  • nuget.exe exists on the local machine.
  • CredentialProvider.VSS.exe exists on the local machine

Getting started

  1. Install the extension on your Visual Studio 2017 instance.
  2. Go to Tools -> Options and update the values as suggested by default: Visual Studio Options
  3. Build the project in Release mode (ensure the binaries are located in the relative bin\Release folder of your project)
  4. Open the context menu for the project and enter 'Publish to VSTS'
  5. You may be requested to provide credentials (therefore the need of the CredentialProvider.VSS file)
  6. You will see two dialog windows popping up but they will automatically close.
  7. If everything succeeded you should now have your package in the VSTS feed

Install

Install the extension from the market place.