问题
I set up and installed the NuGet Gallery via:
localhost:55880
I can manually navigate to the site:
But, when I try to add this URL as a package source in Visual Studio:
And then go to Package Manager Console, I get a 404 Not Found error:
QUESTION: Does anyone know what I'm doing wrong?
回答1:
The feed itself is located at http://localhost:55880/api/v2. It should be on the page you took a screenshot of.
来源:https://stackoverflow.com/questions/17452398/hosting-nuget-gallery-locally-via-localhost-cannot-access-its-feed-from-visual