Last active
July 17, 2020 21:33
-
-
Save azborgonovo/ebceb361943948b81cf5 to your computer and use it in GitHub Desktop.
NuGet packing and pushing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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