nuget-server

Pushing to private nuget feed Prompts for Credentials

﹥>﹥吖頭↗ 提交于 2019-12-22 01:34:51
问题 I have set up a private nuget feed using a empty web application and the nuget server package. It is all working, I can retrieve from the feed, and I can publish to the private feed using the Nuget Package Explorer. But I cant publish via the command line - it prompts for credentials. I have set the ApiKey in the web application in the Appsettings, to a simple password, and I have tried adding the ApiKey to the push command. This Prompts me for a username and then a password. I have also

404 on nuget packages link

夙愿已清 提交于 2019-12-20 02:29:10
问题 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

NuGet - Installing Individual Packages reporting “The remote server returned an error: (404) Not Found.”

元气小坏坏 提交于 2019-12-18 04:12:58
问题 When using a local NuGet server, whenever I try to install an individual package from that server, all I get is this error: "The remote server returned an error: (404) Not Found." The packages are all there in the filesystem and the feed itself sees all the packages appropriately. I can even browse the package directly! What am I missing? I did just upgrade from NuGet server 1.4 to 1.5, but I've seen this happen before. Touching the package files used to help, but that does not appear to be

Azure DevOps Server as NuGet “proxy” server

泪湿孤枕 提交于 2019-12-11 17:15:47
问题 I have Azure DevOps Server which will run build tasks on workstations without internet connection. The DevOps server itself can connect to internet. I'm trying to configure Devops server in a way that when the build on one of the workstations needs a Nuget package, the server connects to the internet and downloads it, virtually serving as "proxy server" for build agents which are running on workstations without internet access. I've configured Nuget feed and created service connection which

Could not load file or assembly 'NuGet.Server, Version=2.11.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies

∥☆過路亽.° 提交于 2019-12-11 16:58:08
问题 So I have created a NuGet Server via an ASP.Net Web Application following this tutorial: http://nugetserver.net/ which is hosted in IIS. I have placed the files on my D: drive on my server along with my packages. IIS Sites Virtual Path: I get the following error when I navigate to the url: In case the picture is not clear enough, please see below: Could not load file or assembly 'NuGet.Server, Version=2.11.1.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located

Nuget Server returning 403's and 404's

戏子无情 提交于 2019-12-10 15:44:14
问题 I'm trying to host nuget on my Amazon EC2 VPS, and I'm having issues. I've followed the instructions here ( Hosting your own NuGet Feeds ) I've read this thread ( NuGet: remote server returned an Error(403) Forbidden ) along the same lines. I'm not running TFS It "could" be a proxy issue, but I'm not entirely sure how to check. My NuGet feed is located at http://nuget.infinitas.ws. You'll notice that both http://nuget.infinitas.ws/nuget/Packages and http://nuget.infinitas.ws/Packages are

Automatic NugetPackage upload to Nuget feed

戏子无情 提交于 2019-12-08 05:57:10
问题 Is it possible to automatically upload a Nuget package to a feed when building a project using Visual Studio 2017 and .net core? I can check the option to automatically generate the package, but I don't know how to automate the publish process. Thanks! 回答1: Is it possible to automatically upload a Nuget package to a feed when building a project using Visual Studio 2017 and .net core? The answer is yes. Since NuGet Command Line Interface (CLI) provides the full extent of NuGet functionality to

NuGet private feed not updating DownloadCount

大兔子大兔子 提交于 2019-12-07 02:05:53
问题 I have set up a small test Nuget private repository on my machine following this guide. Everything is working perfectly and I can publish packages, update versions, download them etc. The only problem is that the DownloadCount of my packages is always 0 regardless of how many times I download it. I downloaded NuGet source but could not find a place where this value is updated. Moreover, nuget does not seem to use any DB technology so probably the feed is just generated on demand from the

Automatic NugetPackage upload to Nuget feed

不问归期 提交于 2019-12-07 00:50:28
Is it possible to automatically upload a Nuget package to a feed when building a project using Visual Studio 2017 and .net core? I can check the option to automatically generate the package, but I don't know how to automate the publish process. Thanks! Is it possible to automatically upload a Nuget package to a feed when building a project using Visual Studio 2017 and .net core? The answer is yes. Since NuGet Command Line Interface (CLI) provides the full extent of NuGet functionality to install, create, publish , and manage packages. https://docs.microsoft.com/en-us/nuget/tools/nuget-exe-cli

how to specify location of nuget packages when package restore is enabled?

强颜欢笑 提交于 2019-12-06 05:32:57
问题 I am working on a .net solution and use nuget for my package management. I have selected the option to "Enable Nuget Package Restore" so that the nuget packages not checked in to source control. Prior to this I had a nuget.config file at the same level as the solution where I included to following enabling me to specify the location of the nuget packages. <settings> <repositoryPath>..\Build\NuGetPackages\</repositoryPath> </settings> Since I enabled the nuget package restore, this is no