Skip to content

Instantly share code, notes, and snippets.

@tonesandtones
Created September 7, 2023 08:12
Show Gist options
  • Save tonesandtones/326277287a88598489c842e96f056f76 to your computer and use it in GitHub Desktop.
Save tonesandtones/326277287a88598489c842e96f056f76 to your computer and use it in GitHub Desktop.
Local nuget feed helpers
-- Add source
dotnet nuget add source C:\dev\nuget\local
-- pack a package
dotnet pack --no-build --no-restore /p:Version=0.1.23-prerelease-01
-- publish
dotnet nuget push -s C:\dev\nuget\local .\src\<project>\bin\Debug\<project>.0.1.23-prerelease-01.nupkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment