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

MSBuild -t:pack ProjectReference

I have a C# solution that contains two net472 projects: Foo.csproj, and Bar.csproj.The projects are in classic format (no SDK version).The projects use PackageRefernce as package management.Foo.csproj...

View Article


Unable to push nuGet packages to GitLab with dotnet CLI due to Unauthorized...

GitLab now supports nuget public and private feed repository.I've got a public project (e.g: https://gitlab.com/sunnyatticsoftware/sasw-test-support)I create an access token for my user with api and...

View Article


Prevent installing my NuGet package to project with unsupported target framework

My NuGet Package targets .NET Standard 2.0 and .NET Framework 4.0.The .nuspec looks like:<?xml version="1.0"?><package><metadata> ...<dependencies><group...

View Article

How to make sure Application takes latest change in Nuget package on each build?

I am using continuous integration to build my nuget project.It builds my application and drops nuget package to Artifactory. The nuget package is then referenced by other applications.Each time I make...

View Article

Microsoft.WindowsAppSDK.1.0.1 Payload contains two or more files with the...

I get the following error when trying to compile ProjectB which depends on ProjectA, both of them use WindowsAppSdk:20> Creating library...

View Article


Why Netcoreapp3.1 not Compatible with net5.0 Class Library

As per my understanding, net5.0 is compatible with both netcoreapp and older .net versions.I am trying to create an Azure function that targets netcoreapp3.1 and use a library that was built targetting...

View Article

Image may be NSFW.
Clik here to view.

Can not delete a nuget package with the dotnet cli

I can not delete a nuget package with the dotnet cli.Here is the command I am running:dotnet nuget delete package AutoMapper.Extensions.Microsoft.DependencyInjection 7.0.0Here is the error I am...

View Article

What is the difference between PackageReference Update and PackageReference...

<PackageReference Update="Microsoft.NETCore.App" Version="2.1.22" /><PackageReference Include="Platform.Core" Version="1.8.0" />What is the difference between "Update" and "Include" in the...

View Article


Getting 'forbidden' pushing a nuget package in github

Much like this thread: Publishing and Consuming GitHub Package Repository with NuGet: Unable to load the service index errorI have the csproj correct, the nuget.config correct (same as in that thread,...

View Article


Nuget throwing 401 unauthorized error for no apparent reason

I'm using VS2015 and Nuget to install external packages. Everything was working fine until today when Nuget started spitting out a:Response status code does not indicate success: 401 (Unauthorized)I...

View Article

Cannot use nuget package within the project

Hi I have created a nuget package for my xamarin.iOS project. I have included the DLL which is generated from my Xamarin binding project. This is my .nuspec file<?xml version="1.0"?><package...

View Article

Image may be NSFW.
Clik here to view.

Weird issue using WebBrowser Control & Telegram Nuget Package

I'm using the Telegram.bot package from nuget and getting the last message as a string from the client. I want then to set it as the attribute of a textbox on a webpage with the control WebBrowser. I'm...

View Article

Image may be NSFW.
Clik here to view.

Nuget Package Manager installed, but I am unable to access it

In Visual Studio, I am unable to access my Nuget Package Manager even though it is listed as installed. I don't have the option anywhere. Screenshots below. I am currently in VS as administrator and I...

View Article


.NET Core 6 microsoft.data.sqlclient 4.1.0 in runtimes\win\lib\netcoreapp3.1

I'm upgrading my application from .NET Core 3.1 to 6.0 and in the process moving the sqlclient from 2.0.0 to 4.1.0I was expecting 4.1.0 version be in runtimes\win\lib\net6.0?From the debugger Modules I...

View Article

Package Validation does not show any output on breaking changes

I have a .NET project that creates a nuget package and I wanted to add PackageValidation as described here:https://docs.microsoft.com/en-us/dotnet/fundamentals/package-validation/overviewI have these...

View Article


Why the NuGet doesn't copy some dlls as in packages.config

I have a problem where I want to copy Google.Authenticator.dll nuget from C:\ProjectX\packages into C:\ProjectX\project.Web\Bin.Here what I done so far:cleared the nuget cacheupdate the nuget nuget...

View Article

.NET NuGet Package Validation does not show any output on breaking changes

I have a .NET project that creates a nuget package and I wanted to add PackageValidation as described here:https://docs.microsoft.com/en-us/dotnet/fundamentals/package-validation/overviewI have these...

View Article


Method not found: 'System.String...

How to Solve conflicts for nuget package Active directory in asp.net ?Can we use two different version?

View Article

Image may be NSFW.
Clik here to view.

Package 'dotnet-sonarscanner 5.0.4' has a package type 'DotnetTool' that is...

There is a total of 6 projects in a solution. dotnet-sonarscanner package is only working in 4 of them.I am getting the following error that this package is not supported by the project...

View Article

Failed to install from NuGet package manager - VS 2017

After installing vs 2022 and uninstalling it (because it doesn't support ODAC).Going back to the previous version (2017 or 2019) causes the NuGet package manager fails to install packages properly (all...

View Article
Browsing all 3067 articles
Browse latest View live


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