Setting up a local V3 feed
See original GitHub issueI am using sleet to create a personal V3 feed which contains most of the packages from the official Nuget feed for an on-premise closed environment.
I managed to use sleet push
to generate all of the necessary files (index.json, packageindex, catalog, autocomplete, etc…)
I am now trying to publish my feed via an ASP.NET IIS website which exposes the V3 index.json.
However, I am faced with an error when trying to browse my repo using the Visual Studio package manager:
[Custom Nuget] Only 'http' and 'https' schemes are allowed.
Parameter name: requestUri
My Custom Nuget configuration in VS2015:
Name: Custom Nuget
Source: http://nuget-test/index.json
Where nuget-test is a server running an empty ASP.NET web template with the Nuget.Sever
package installed
All of the packages are stored locally on the server nuget-test. The ASP.NET website was made using the guide on nuget.org
What am I doing wrong?
Also, I don’t know how common of a use case this is but I think it’s worth adding a guide on how to setup a local nuget feed using a personal sever and not one that is hosted on Azure
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (6 by maintainers)
Top GitHub Comments
I managed to serve the files on a local IIS installation. I will probably make a Pull Request in a few days with an updated Quickstart guide for local installation
Fixed with @MPTG94’s PR