nuget-server

500.19 Error when running nuget gallery from iis

北城以北 提交于 2019-12-03 05:35:18
I'm trying to run a local install of Nuget Gallery but get a 500 error related to a bad config file. However, this only happens when running from IIS. If I run from IIS Express it works fine. Can anyone give me any pointers? Error Summary HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error Information Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code 0x8007000d Config Error Config File \\?\C:\inetpub\NuGetGallery\Website\web.config Requested URL http:\\

Where can I find documentation for the NuGet v3 API?

情到浓时终转凉″ 提交于 2019-12-02 23:34:06
I'm interested in writing a client library around the NuGet v3 API in a non-.NET language. Where can I find documentation/resources on it that would tell me e.g. what URLs to make requests to and what responses it would return? I tried doing a quick Google search, but the only thing that turns up is this , which was last updated 3 years ago. Does a spec exist? Here is the official NuGet V3 API documentation. The API is composed of multiple protocols, including: The Service Index - used by the client to discover the NuGet services The Search Service - used by clients to search for NuGet

Configuring NuGet server to use Authentication

∥☆過路亽.° 提交于 2019-12-02 14:31:50
The release notes for NuGet 1.5 state NuGet now supports connecting to private repositories that require basic or NTLM authentication. However, the link contained in there simply leads to the hosting your own nuget feeds page, without any further mention of how to set up authentication. I would like to set up a NuGet server that is accessible via https from the internet, but only allows people who can successfully authenticate to view or download the packages on the server. I did create an application without auth as described in the Creating Remote Feeds section in the documentation , and it

404 on nuget packages link

*爱你&永不变心* 提交于 2019-12-01 20:53:23
Full disclaimer: java guy, trying on the .Net hat... I've gone through the walk through on how to setup NuGet server, and it looks like it is mostly working. I get this page: You are running NuGet.Server v1.8.30423.9026 Click here to view your packages. However, when I click the link I get a 404. The .nupkg mime type has been added to IIS, so I don't see what else I could be doing wrong. I've added NLog to the project and added logging to the Routes.cs class and both the log statements are showing up: private static readonly Logger Logger = LogManager.GetCurrentClassLogger(); public static

Where does Visual Studio keep it's own copy of nuget.exe?

两盒软妹~` 提交于 2019-12-01 19:55:28
问题 I'd like to know where Visual Studio keeps it's copy of nuget.exe so that I can use that path in a custom msbuild target I'm planning to do. Some time ago, NuGet package restore was not automatic in Visual Studio: you had to import a custom .targets file so that packages were restored before building. At the time, a copy of nuget.exe was kept with each solution in a .nuget folder. Nowadays, Visual Studio does this automatically when building, which indicates to me that somewhere there is a