I am trying to upload a package for modders on my repository (console application) and I have set up nuget.exe using the GitHub Package Registry configuration for NuGet steps on Help.
When I tried to push my .nupkg file to GitHub, using nuget.exe, I got an error after uploading, saying 400 Bad Request.
I have set the API key to the source, because I think it is a root cause, but when I tried to upload it with new changes, the same 400 Bad Request error appears.
I used nuget push KS.0.0.6.13.symbols.nupkg -Source “GitHub - KS” for uploading to GitHub NuGet repo. I have set the site as “https://nuget.pkg.github.com/EoflaOE/index.json” and username as “EoflaOE”.
My repository is .NET Framework 4.7.x console application, and is found at “https://github.com/EoflaOE/Kernel-Simulator”, for future reference. It is a kernel simulator that can be an API for making modifications that compile and run inside an app.