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

Azure Build Pipeline's agent remove projects' dependencies

I try to create a NuGet Package in dotnet Core. The NuGet has some dependencies with other packages. When I build the package in my Azure Pipeline, the agent removes the project's dependencies even if...

View Article


nuget packages failing to download in VS 2019

I am trying to restore packages for my .Net core solution from private proget server maintained by my organization using vpn. But it is not completing for last 7days due to some unknown network issues....

View Article


Image may be NSFW.
Clik here to view.

Font Awesome Icon not working in .NET/MVC Application

Kind of simple as the title says but I'm struggling with the steps. I downloaded font-awesome from Nuget Package Manager and added it to my project.I also added the the font-awesome css in my bundle...

View Article

How to add package description to Nuget packed with DotNetCoreCLI

I have the following Azure DevOps task which creates a nuget pack before it´s pushed to the artifact.- task: DotNetCoreCLI@2 displayName: 'Pack' inputs: command: 'pack' nobuild: false packDirectory:...

View Article

How to reference a script that lives inside a .dll (NuGet package)?

I have created and published a NuGet package which has a .js file. I install this NuGet on my app which knows when to load each script depending on the page I load.However my app needs the path to this...

View Article


Error NU1605Detected package downgrade: log4net from 2.0.11 to 2.0.3

I am using Visual Studio 2017 Enterprise version 15.9.27 and .NET Framework 4.5.I just installed Windows 10 Update version 10.0.18363 build 18363.I can compile all other projects in the Solution, but...

View Article

Could not load file or assembly 'Microsoft.Azure.Search.Common,...

{"Could not load file or assembly 'Microsoft.Azure.Search.Common, Version=10.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest...

View Article

Image may be NSFW.
Clik here to view.

C# Nuget package wrong dependency

Our C# application uses Nuget package Microsoft.Rest.ClientRuntime. As one of dependencies this Nuget package has installed Newtonsoft.Json Nuget package. Currently it looks like the following:As I see...

View Article


Image may be NSFW.
Clik here to view.

Can't install NuGet packages in Xamarin Forms

I am trying to install a NuGet package in Xamarin Forms and in all the ones I try to install I get the same error."Package X is not compatible with netstandard2.0"click to enlargeThe package I want to...

View Article


NuGet 5.7.0.6726 - How to install package to a fixed location

I have .netcore solution with all .netcore propjects. I have an Nuget.config file on the solution root directory that have the following keys:<config><add key="globalPackagesFolder"...

View Article

Unable to find dependency 'SYSTEM. DATA. ODBC' when creating MSI

I have a WinForms type project in .NET Standard 2.0. I want to make an msi file for in the testing environment.However, when I compile the source project (WinForms) everything goes well.When I build...

View Article

Image may be NSFW.
Clik here to view.

Correct way to consume Home Grown Nuget Packages with Visual Studio

I'm currently working on a home grown .NET Core project. A developer in another division has created a NuGet package that has a lot of core functionalities. I was instructed that I should consume the...

View Article

what is major difference between dotnet publish and dotnet pack

What is the major difference between dotnet pack and publish?From Microsoft's description, my understanding is that pack creates a package while publish creates package + DLL.Is this correct? If so,...

View Article


An assembly specified in the application dependencies manifest (...) was not...

I upgraded Microsoft.AspNetCore from 2.0.3 to 2.0.5 and my WebAPI project, although running successfully locally, fails to start in production (IIS). Everything was fine in production until this...

View Article

How to view all NuGet packages that depend on XYZ and not just the top 5

Is it possible within NuGet.org to view all NuGet packages that depend on a specific package, i.e. Microsoft.NETCore.Platforms?I did not see anything within the public API either to crawl the endpoint,...

View Article


Failed to install 'Microsoft.Extensions.Configuration 2.0.0'

I am trying to install Serilog.Sinks.MSSqlServer through Nuget. Using VS 2013 and .Net framework is 4.7.2. I checked dependencies before installing and it says it's compatible with framework 4.7.2. But...

View Article

Getting error while adding NuGet Package Microsoft.azure.batch in...

I have installed Visual Studio 2015 on my system.Now I want to work with Azure Batch Service.I have tried to install the NuGet Package Microsoft.azure.batch in VisualStudio 2015 but got the following...

View Article


Nuget.exe - IS there any way to download nuget package (.nupkg) directly from...

I have created nuget package (.nupkg) and hosted that package directly on one of http servershttp://someserver/location/sub-location/nuget/MyPackage.1.0.0.nupkgSo if i just copy paste this URL in...

View Article

How Microsoft applies versioning for nuget packages

I have tried to find out how Microsoft applies versioning in their NuGet packages (i.e. https://www.nuget.org/packages/System.Text.Json) but there are a couple of numbers I can't figure out where they...

View Article

Getting Error Cannot find any .csproj or .fsproj file for your project!...

I have just installed nuget package manager and using nugent package manager I am trying to install Selenium Web Driver for the first time, but i am getting the error "Cannot find any .csproj or...

View Article
Browsing all 3067 articles
Browse latest View live


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