Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
1 answer
192 views

How to mark NuGet packages on Azure DevOps feed as deprecated to use nuget search or dotnet list package --deprecated?

In Azure DevOps Builds, checks for deprecated and vulnerable nuget packages work great using: dotnet list "HappySolution.sln" package --deprecated --source https://api.nuget.org/v3/index....
thisisntjared's user avatar
0 votes
1 answer
83 views

Lacks permission to complete Push nuget package via azure CICD

I am trying to create a NuGet package and publish it to an internal feed using an Azure CI/CD pipeline. Below are the details: Organization name: devStierMate Azure project name: Common' Feed name: ...
Stier Máté's user avatar
0 votes
0 answers
30 views

How to Check if all Packages of a Nuget Package Repository exist in another Repository

I want to check if all nuget packages in a private Nuget Repository also exist in the nuget.org package repository. Is there a way to go through all packages in the private Repo, check if they exist ...
Frederik T's user avatar
0 votes
0 answers
55 views

How can I automatically increment the version of my local NuGet (Baget) package in my .csproj file

We use local NuGet (BaGet) to store our custom packages. We assign a new version number for each update we make. I am sharing code snipped from my .csproj file in the below: <PropertyGroup> ...
Çağlar Ayhan's user avatar
0 votes
0 answers
171 views

How to correct GitHub token permissions in an action attempting to push to a GitHub NuGet store?

I have the following step in a shared workflow (lives in a repo within my org, not where it's called from): - name: Publish and push image run: | dotnet pack ${{ inputs.csproj_path }}...
Daniel Mulroy's user avatar
0 votes
0 answers
93 views

How do I request my customers to login in my private Nuget package server?

I have an ASP.NET MVC website where customers log in using ASP.NET Identity. I also have a private Nuget package server for my products (I followed these instructions to create it). How do I enforce ...
abenci's user avatar
  • 8,621
1 vote
2 answers
2k views

Nuget restore from github package manager giving 403

We have a private set of nuget packages in GitHub. Until recently, I was able to restore packages from this repository and view them in the package manager. Now, I'm getting 403 errors: Retrying '...
Michael Witt's user avatar
  • 1,712
1 vote
0 answers
77 views

Nuget Gallery package source not found

I have set up NugetGallery https://github.com/NuGet/NuGetGallery on my own server and am able to access the UI and perform all operations. However, I have been unable to locate the link that needs to ...
Maruf's user avatar
  • 41
0 votes
1 answer
487 views

Finding missing nuget packages in local repository

I have a local nuget repository (Nuget Server). I need to upload packages from Nuget.Org to my local repository for offline building. How can I list all packages missing for some solution? I need it ...
YanivR's user avatar
  • 61
2 votes
1 answer
489 views

License expression for commercial nuget package

I'm uploading a private nuget package to a private nuget repository. The package is commercial (not open source). The csproj has this: <PackageLicenseExpression>Commercial</...
lonix's user avatar
  • 19.6k
0 votes
1 answer
616 views

How to push nuget package to an online server location

I have just created a .Net class library which I need to be converted to a nuget package. I can create a local path for the nuget and push it there. However, I need other members of my team to be able ...
Josh's user avatar
  • 1,938
6 votes
0 answers
523 views

How to see what symbols are hosted on a Symbol Server?

I would like to inspect what symbols are available on a symbol server. I expect that a symbol server hosts more or less a collection of .pdb files for various applications. Tools like Visual Studio or ...
Tim Taurit's user avatar
  • 9,199
1 vote
2 answers
3k views

AZURE: Can I host NuGet.Server in Azure?

I want to host a nuget.server to share private nuget packages with my dev team. This link: https://learn.microsoft.com/en-us/nuget/hosting-packages/nuget-server shows me how to build a nuget.server, ...
Joe's user avatar
  • 1,139
1 vote
1 answer
235 views

NuGet.Server crash on startup

I setup Nuget.Server based on Visual Studio Project and Nuget.Server Package, and publish it to our IIS on Windows Server 2019. In Server, We can open the Website at http://ServerName:Port and ...
mRizvandi's user avatar
  • 1,083
1 vote
1 answer
123 views

NuGet Package Source limited to specific author

Is it possible to configure a NuGet source to only allow pulling of packages from a specific root author ? My specific use-case : Visual Studio NuGet Package Manager Microsoft packages only You might ...
BaltoStar's user avatar
  • 8,937
11 votes
0 answers
806 views

Way to mark Nuget-Package als Deprecated in a local repository

I´ve seen that there is a way to mark packages as deprecated on nuget.org (https://devblogs.microsoft.com/nuget/deprecating-packages-on-nuget-org/). Unfortunally I don't push my packages to nuget.org ...
she's user avatar
  • 131
1 vote
0 answers
127 views

Get ReleaseNotes from nuget feed programatically when possible

Some packages like AngleSharp have 'Release Notes' in their nuget feed. IPackageMetadata.cs have ReleaseNotes but it seems this is only used when creating a package. Is there a way to get ReleaseNotes ...
Bakudan's user avatar
  • 19.5k
1 vote
2 answers
3k views

"No packages found" when having Azure Artifact as package source

Due to the usage of Babel, that require us to host ourself the package manager on a private repository, we are using Azure Devop as a source of our packages. But now when we look for any package that ...
J4N's user avatar
  • 20.6k
0 votes
1 answer
75 views

Nuget Sitefinity Repository down?

Is http://nuget.sitefinity.com/nuget working for you guys as a Nuget package source? We are getting the following error: This has been happening since January 19th 3 PM GMT.
Muhammedh's user avatar
  • 504
1 vote
1 answer
2k views

Copy nuget package content file (of type .exe) to output directory of project using that nuget package

I have some project which has some exe as "dependency" and I build that project as nuget package from .csproj file File looks like this: <Project Sdk="Microsoft.NET.Sdk"> &...
Vlado Pandžić's user avatar
2 votes
1 answer
4k views

NuGet private server returns 502 (Bad Gateway) when pushing new package

I deployed new private NuGet server (NuGet.Server.3.4.1) and set up API key in web.config. Then I created first nuget package from my .net core class library project. But when I try to run following ...
Muflix's user avatar
  • 6,728
1 vote
1 answer
2k views

Nuget resource change from https to http

I try to upload a NuGet package but a receive this error: An error was encountered when fetching 'PUT http://nuget_domain/api/v2/package/'. The request will now be retried. But in the https://...
CarlosS's user avatar
  • 181
3 votes
2 answers
3k views

Nuget packages with both debug and release

In our work we have one team that develops libraries and other teams that develop projects using those libraries. The libraries team has much more experience than the projects one. We created this ...
Luiz Bicalho's user avatar
2 votes
1 answer
1k views

Nuget local feed slow search

I have setup a local Nuget folder \\servername\packages and configured Visual Studio to use it as source instead of https://api.nuget.org/v3/index.json. It works fine. However, search for a package (...
developer's user avatar
  • 1,673
1 vote
0 answers
145 views

Where is the extra folder configured for NuGet.Server v3.4.1.0 that is causing the 404 Not Found Error

I have read other posts with people having issues with the 404 Not Found error when building their own local version of NuGet.Server. None of them specifically asked about what I am seeing as an ...
Sudonim's user avatar
  • 109
0 votes
0 answers
299 views

How to create a NuGet ApiKey with command

So I need a way to create a NuGet ApiKey from the console/command. Basically the idea is to automate a project's nuget package deploy. Ideal steps: User passes username/password to Jenkins(or ...
Kristiyan Goleminov's user avatar
3 votes
1 answer
2k views

Artifactory nuget push - non-existing user (API key / access token)

I am able to push nuget packages to Artifactory using dotnet nuget push %WORKSPACE%\NuGetPackages\*.nupkg --source <url> --api-key <username>:<encrypted password>. However, I would ...
Mikkel LP's user avatar
1 vote
0 answers
477 views

Specifying Nuget Package Platform Target

I want to create a Nuget Package for a C# library that targets .NET Framework 4.0 and higher. If I put my library in a directory named Net40, will this cause issues for projects that target say 4.1 ...
Russell Chidhakwa's user avatar
0 votes
0 answers
233 views

Managing NuGet package dependency updates in a local NuGet repository

Let's suppose there is a .NET Core project that has a reference to a NuGet package, say nugetD. That NuGet package in turn has references to 3 other NuGet packages, say nugetA, nugetB and nugetC. The ...
Nemesis's user avatar
  • 113
2 votes
1 answer
2k views

Debug Nuget Library

I have a set of Nuget Libraries that I compile and modify myself. I build them without publishing on any Nuget server. (It is not my library) On the other side, I have a project that use such Nugets,...
ClubberLang's user avatar
  • 1,898
0 votes
1 answer
1k views

how to call Package Manager Console and execute Find-Package in visual studio extension

I'm developing a visual studio extension(vsix). Now, I want to get a nuget package latest version. I only found one way by using Package Manager Console, dotnet CLI still not support search command. ...
Hourglass's user avatar
  • 172
5 votes
0 answers
198 views

NuGet statistics - what does each category actually mean

I am trying to understand what does each line mean at NuGet statistics for a particular package. Understanding these categories is crucial for understanding how is a project/product adopted. For ...
sasha_krsmanovic's user avatar
1 vote
2 answers
8k views

Own Nuget Server - The V2 feed at '' returned an unexpected status code '404 Not Found'

I created my own Nuget Server following the documentation and I got it, but I cannot access the packages from Visual Studio 2019 Community Nuget Package Manager. So, when I do it through a browser I ...
serfe's user avatar
  • 284
5 votes
1 answer
450 views

My own hosted NuGet server doesn't work properly anymore

I've hosted my own NuGet server, and it worked great for my libraries. In this case, I installed "NuGet.Server" package. Recently, it doesn't work anymore and I can not push any version on ...
AmiN Zamani's user avatar
0 votes
0 answers
132 views

How a .NET project add a C++/CLI library from NuGet?

My project structure is: The main project is .NET framework 4.8, and the library develops by C++/CLI. I can add the file reference directly, it can work now. For some reason, we don't want to ...
Cade Huang's user avatar
0 votes
1 answer
3k views

NuGet Packager with version using build number, adding -beta

My goal is to deploy NuGet packages (to in-house Nuget server) that auto-increment the version based on date and last Rev, and include a -beta tag. I am using VSTS to build and package using cake, ...
Jazzy's user avatar
  • 519
1 vote
1 answer
2k views

Keeping Nuget packages updated in many projects/solutions

If using the same nuget package(s) over multiple solutions, how do I keep them up to date without having to open up every solution and update packages when a new version is released? Folder structure ...
Syntax Error's user avatar
  • 1,640
0 votes
1 answer
4k views

Getting error: 'NU3008: The package integrity check failed' when trying to restore nuget packages during my TeamCity build

I have TeamCity building a project pulled down from SVN on a build machine under the LOCALUSER account. The first step it takes is to restore nuget packages using the nuget installer from the ....
Luke4792's user avatar
  • 455
1 vote
1 answer
2k views

Azure DevOps Server as NuGet "proxy" server

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 ...
Alx Mx's user avatar
  • 179
3 votes
2 answers
6k views

nuger.server's FindPackagesById() is not returning pre-release packages

I am trying to query the nuget server using the FindPackagesById() web method. But it is not returning the pre-release versions of the package. I am sure that there's a way to do it. Any help would be ...
Zorthgo's user avatar
  • 2,967
1 vote
1 answer
1k views

Changelog/Release notes in NuGet Manager Azure DevOps/VSTS

I'm starting to work more and more with NuGet Manager / NuGet artifact in Azure DevOps and I'm wondering if there is a way to get more information on the nuget pane? We keep track of our changes in a ...
Simon Nordahl's user avatar
0 votes
2 answers
118 views

Nuget Server issue post migration to Win 2016

I have migrated nuget repository from Win 2008 to Win 2016. Alias to that server: http://xyz.mycompany.com/NugetFeed Apart of windows, IIS is different as well, on the new server it is IIS 10. After ...
Jack's user avatar
  • 360
0 votes
1 answer
166 views

Does the new Symbol Nuget package allow editing the Nuget locally?

I'm investigating the new .snupkg extension for Nuget packages and was wondering if it allows me to modify the Nuget code in Visual Studio on the fly or do I have to pack and push my new changed Nuget ...
Salah Alshaal's user avatar
1 vote
0 answers
467 views

Failed to publish the nuget package due to time out issue

Our builds on TFS fail intermittently with the following error . when the build step "Nuget publisher(version 0)" hits the default 5minutes timeout I get this error. This seems to be not relevant to a ...
kranthi's user avatar
  • 11
0 votes
1 answer
369 views

Single nuget.target file executed from multiple targets file

We have setup an internal nuget server. While setting things up we have several packages with .targets file which copies some dlls to output folder. When we use these packages only the last nuget....
Kartik150's user avatar
  • 615
2 votes
1 answer
303 views

How are NuGet repos organized?

I decided to push a .NET Standard class library to an existing local NuGet repo at my workplace. I did it by having the NuGet package automatically pushed after the build in Visual Studio: nuget ...
Max Jacob's user avatar
  • 741
0 votes
0 answers
7k views

unable to load the service index for source https //api.nuget.org/v3/index.json

I just installed vs and created a mvc project But the nuget part in the references is a yellow sign, and when I try to create a controller, I encounter the "unable to load the service index for source ...
Mahfooz Salehi's user avatar
1 vote
1 answer
259 views

TeamCity Nuget update private package only

We have a .net solution with around 30 projects in it. We have a dependency on another internal project ( not in the same solution ), for which we use TeamCity NuGet to get the latest packages. ...
Anirudh Bagri's user avatar
1 vote
0 answers
198 views

Nuget.Core Download all Nuget-Packages Authentication failing

I want to download all nuget packages from a private nuget feed, but my authentication is failing. public void DownloadPackages(string repositoryPath, string directoryPath) { var repo = ...
Peter's user avatar
  • 1,687
1 vote
2 answers
799 views

NuGet push version 3.1.2 returns 405 HTTP error (method not allowed)

I use a private NuGet.Server with the newest version 3.1.2. My IIS has the WebDAV feature not installed.   Therefore the other recommendations in how to fix the 405 (method not allowed) error, didn't ...
rogaa's user avatar
  • 370

1
2 3 4 5