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

Best Nuget.Config approach for development and production

If I have NuGet.config file with two sources retrieved from Artifactory.For development purposes, one would want source to come from local packages if needed.What is the best approach to go about that?...

View Article


Install a Nuget package in Visual Studio Code

How can I install a Nuget Package in Visual Studio Code? I know in Visual Studio, we can do this through the Nuget Package Manager console, but how do I do it in VS Code?

View Article


Including NGravatar leads to OData.Core dll not found ( and using higher...

I'm totally flabbergasted by this.I have a Asp.Net MVC v 5.2.3 project.When i include https://github.com/NicoJuicy/ngravatar ( not published on the default nuget repo yet).The NGravatar nuget package...

View Article

Powershell script to download package from NuGet

I want to set up a local repository for developers, this repository will be used to install packages on projects in our internal team. How can I setup local repository using powershell? Like-I want to...

View Article

Image may be NSFW.
Clik here to view.

Xamarin Android: Hundreds of warnings saying to check if Nuget packages are...

I am building an app, and I have hundred of warnings like this one: "Skipping TPProject.Resource.Drawable.ic_collapse_00000. Please check that your Nuget Package versions are compatible."My...

View Article


Nuget pacakage (Microsoft.EntityFrameworkCore.SqlServer) can not found

I'm trying to add "Microsoft Entity Frame work Core SQL Server" package to my project dependencies(using Visual studio 2019) but its keep telling me package not found every time i search..please is...

View Article

Image may be NSFW.
Clik here to view.

PagedList MVC does not contain a definition for PagedListPager

I don't know why PageCount,PageNumber and PageListPager doesn't contain a definintion or could not be found. It's asking if I'm missing a using directive or an assembly reference but I have it in my...

View Article

using relative path on .nuget packages folder in .csproj file

How to use relative path on .nuget packages folder in .csproj file. I've .txt content files and it is copied to my bin directory if I make a build only if I set the property to copy always. By doing...

View Article


NuGet fails updating automatically from non existing version

I´ve loaded an old project. It has a NuGet package referenced to a version (version 1) that doesn´t exists anymore in the nuget.org remote repository. It doesn´t exists neither in my local computer. In...

View Article


What are .NET Platform Extensions on docs.microsoft.com?

There is a framework-level navigation element at Microsoft Docs called ".NET Platform Extensions". It contains docs on recently added APIs like System.IO.Pipelines and System.Threading.Channels for...

View Article

Image may be NSFW.
Clik here to view.

Not able to run Az commands on Azure Runbook

I am trying to run the Az commands inside PowerShell type Azure Runbook. At starting it does not recognize the Az commands and want me to install NuGet. Now error displayed while installing NuGet.#Set...

View Article

When a Nuget package is added, where are the stuff added located?

In Visual Studio 2019 I added a Nuget package, Microsoft.AspNetCore.Authentication.Google version 3.14. The only visible change I can find is an extra line in <ItemGroup> in the .csproj...

View Article

Upgrading from Microsoft.Net.Compilers to Microsoft.Net.Compilers.Toolset

I have an ASP.NET (full framework) MVC application that is currently using Microsoft.Net.Compilers which is now deprecated. On my first pass, I missed this and attempting to upgrade the version (via...

View Article


Change NuGet Package Referenced Based on Profile

We have a NuGet package we created locally. We have a version that includes non-production environments and one that includes the production environment. Let's use Connection and ConnectionProd for...

View Article

Image may be NSFW.
Clik here to view.

ASP.NET Project Stubbornly Refuses to Compile [closed]

I am growing to HATE ASP.NET, I don't know why they have to make this package s**t deliberately so complicated. I never had this problem with Visual Basic. It just keeps complaining about one thing...

View Article


Image may be NSFW.
Clik here to view.

One specific nuget package is not getting pushed to gitlab

I am pushing packages to one of my gitlab repositories.All the packages are pushing fine except for one version of one package.I have three versions of the same package And I am giving this as the...

View Article

NuGet package restore error [NU1202] while trying to run Unit Tests

I am having this issue while trying to run unit tests on my home machine (works on my work machine). Error:Alerts.Tests.csproj: [NU1202] Package NuGet.Frameworks 5.0.0 is not compatible with...

View Article


how to get all nuget dependencies for offline installation

I two computers, one with internet connection and the other one without.I want to install a Nuget package (Nuget.server) with all its dependencies on the offline computer.Unfortunately it is not...

View Article

Is it better to install a nuget package per project, or globally for the...

When installing a nuget package, is there any decrease in compilation time/performance from installing it globally for the entire solution? For example, say I need Newtonsoft.Json for a particular task...

View Article

Directory.Build.Props is not overriding property in nuget package

I am developing a WinForms application in Visual Studio 2017. I have a nuget package which contains a props file which causes a compiler error to happen if the platform is set to AnyCPU. However, there...

View Article
Browsing all 3067 articles
Browse latest View live


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