-
I am having trouble trying to push .net framework packages to github Commands: To pack: .nuget\NuGet.exe pack “C:\projects\reponame\ABC.Package” -OutputDirectory “C:\projects\reponame\ABC.Package\bin\Release” Have tried adding in a API key param to the nuget push but that returns a 403 forbidden without it prompts for username and password which seems to get a little further before getting a response of "Response status code does not indicate success: 422 (Unprocessable Entity) " .nuspec file is:
Can anyone help or is this not supported by GitHub? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
lesma:
You would need to use something like this:
Note the source is I hope that helps! |
Beta Was this translation helpful? Give feedback.
-
Thanks so much, have been pulling my hair out on this for a while. |
Beta Was this translation helpful? Give feedback.
You would need to use something like this:
Note the source is
https://nuget.pkg.github.com/orgname
not a GitHub repo. The associated repo is specified using therepository
element of your .nuspec or (more commonly) theRepositoryUrl
property of your .csproj.I hope that …