Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Browsing all 3067 articles
Browse latest View live

Unauthorized nuget package from Visual Studio Team Services using asp.net...

I am unable to install/restore nuget packages from a Visual Studio Team Services feed in an asp.net core web application (RC2). I receive the following:error: Response status code does not indicate...

View Article


How to Install-Package a pre-release nuget package?

This package: https://www.nuget.org/packages/Terminal.Gui/1.0.0-pre.5Find-Package shows the pre-release versions if I use -AllowPrereleaseVersions.PS> Find-Package -Name Terminal.Gui...

View Article


Can't connect to GitHub Package Registry from Visual Studio

In Visual Studio 2019, I'm trying to connect to our private GitHub Package Registry but keep getting unauhorized error.Here's what I've done:Created a Personal Access Token (PAT) on GitHub with Write...

View Article

GitHub action needs to restore NuGet package from private GitHub registry

I have a library project that I’m trying to create a GitHub action for. This action will create a NuGet package for my project but first needs to restore NuGet dependencies from both NuGet.org and a...

View Article

Unable to resolve service for type 'AspNetCoreRateLimit.IProcessingStrategy'...

I have used the package AspNetCoreRateLimit Version="4.0.1" and I get the following exception: Unable to resolve service for type 'AspNetCoreRateLimit.IProcessingStrategy' while attempting to activate...

View Article


Package restore failed Issue for Scaffolding items

I have issues creating a Controller with Scaffolding items.I'm working with Visual Studio 2019 - ASP.NET Core Web Application (with MVC) - ASP.NET Core 3.1I did the following steps:I installed from...

View Article

Image may be NSFW.
Clik here to view.

dotnet CLI “error: There are no versions available for the package...

I've added my private source of packages that hosted on gitlab by this commanddotnet nuget add sourceits done successfully and added to my list of sources, then I've pushed my packages on it, the...

View Article

Publish npm package to make it available for selective users

I work for Organization "A" . I want to publish Angular package/ nuget package to Github/ Azure ADO and make those packages accessible to selective users ( from other enterprise organizations).I do not...

View Article


NuGet.targets error : '.', hexadecimal value 0x00, is an invalid character...

after upgrade to .Net Core 2.1.1 I got this error: C:\Program Files\dotnet\sdk\2.1.301\NuGet.targets(114,5): error : An error occurred while retrieving package metadata for 'System.IO.4.3.0' from...

View Article


Is there a way to reference a nuget package which has a specific stage...

Under one of our previous projects which had package.config and we used to reference a nuget package which had a specific stage approved under release pipeline:<package id="Sample.Nuget"...

View Article

Nuget package order of display

When I browse the availabe package in VS 2019, from nuget.org, what algorythm is used to order the package displayed?Does not seems to by popularity, because the order does not match the one in...

View Article

Can NUGET packages that deliver .cs source only, be consumed from "SDK-style"...

This Stackoverflow response talks about using the contentFiles option to deliver source via a Nuget package: https://stackoverflow.com/a/52885223/8679778But contentFiles I think don't work with...

View Article

Migrating from nuspec to msbuild for nuget packaging

What is the equivalent property to use in msbuild for https://docs.microsoft.com/en-us/nuget/reference/nuspec#including-assembly-files for migrating from nuspec to msbuild for creating nuget package.

View Article


Memory leak while converting images with FreeImage.Net

When loading the image with the nuget package, (FreeImage 3.18.0.0) it does not unload memory even if '''dib.SetNull()''' was set.var dib = FreeImage.Load(FREE_IMAGE_FORMAT.FIF_PNG,...

View Article

Where are the source of the Nuget package for zlib? [closed]

I've found a bug in the Nuget native package zlib version 1.2.8.8. I might know how to fix it, but I fail to see where the sources of the package are located or even who packages it. That really...

View Article


Nuget Package - feed (VSTS) :Exception 'System.AggregateException' thrown...

I have created a new feed with in Package Release hub (VSTS), installed the credentials, then added the package source. Now, I am using Visual Studio 2015 to install Micrososft.Aspnet.mvc to a project,...

View Article

Azure custom Nuget package external libraries

I created a project that is automatically packed into a NuGet package and added to Azure Artifacts through a pipelineMy NuGet package uses a library from nuget.org called "TextFieldParserStandard"I...

View Article


NuGet dependency loop detected installing Microsoft.Data.Tools.Msbuild

I need to install the Microsoft.Data.Tools.Msbuild package. Is there anything I can do about this?I used the command specified at https://www.nuget.org/packages/Microsoft.Data.Tools.Msbuild, but it...

View Article

List nuget packages used in a solution in C#

I want to list all the nuget packages used in all the projects within a solution.I was going to search all the .csproj files to get the tags to list the nuget packages.I was wondering if there is...

View Article

T4 TransformOnBuild, how to ensure dependent assemblies are copied into...

I am trying to create a NuGet package that deploys some T4 .ttinclude files which in turn rely on a number of referenced assemblies. But I'm having issues in consuming projects when I try to enableThe...

View Article
Browsing all 3067 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>