Skip to content

Instantly share code, notes, and snippets.

@azborgonovo
Last active July 17, 2020 21:33
Show Gist options
  • Save azborgonovo/ebceb361943948b81cf5 to your computer and use it in GitHub Desktop.
Save azborgonovo/ebceb361943948b81cf5 to your computer and use it in GitHub Desktop.
NuGet packing and pushing
// References
// https://www.visualstudio.com/get-started/package/nuget/publish
// https://docs.nuget.org/create/creating-and-publishing-a-package
// https://docs.nuget.org/Create/using-a-gui-to-build-packages
// Accesing NuGet folder
cd {NuGet.exe folder}
// Packing from a .csproj file
nuget pack {relative file name}.csproj -Prop Configuration=Release
// Pushing NuGet package to VSTS
nuget push {your_package}.nupkg -Source {NuGet package source URL} -ApiKey {name of feed}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment