Questions tagged [nuget-package]

NuGet is a Visual Studio extension that makes it easy to install and update open source libraries and tools in Visual Studio.

NuGet is a free open source developer focused package management system for the .NET platform intent on simplifying the process of incorporating third party libraries into a .NET application during development. NuGet is a member of the ASP.NET Gallery in the Outercurve Foundation.

Get started on nuget.org and find documentation on docs.nuget.org

To see NuGet in action, watch this video from MvcConf 2 and this one from DevDays 2011 Netherlands.

3630 questions
1
vote
1 answer

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? 1) Having two Nuget.config, one for local…
Saher Ahwal
  • 9,015
  • 32
  • 84
  • 152
1
vote
1 answer

Createing reference with NuGet in Azure Devops

I create a NuGet package and publish it to a feed in Azure Devops. When consuming it a dependent dll wasen't included, it dosen't exist as a NuGet package so i can't fix it like that. i changed the csproj and added it like described here. Now i get…
Leif Ershag
  • 146
  • 1
  • 15
1
vote
0 answers

Compilation error requiring install Microsoft.Bcl.Build. How to install nuget package Microsoft.Bcl.Build on a unit test project

I have a vs2013 solution with 2 projects in NET 4.0, let's say project A and project B. Project B has a reference to project A. When I compile project B I get a compilation error saying: All projects referencing ProjectA.csproj must install nuget…
Willy
  • 9,848
  • 22
  • 141
  • 284
1
vote
0 answers

Visual Studio 2019 Nuget issue

I have installed Visual Studio Community edition 2019 from the Microsoft Website. My Nuget package manager is only installing offline packages.I have tried to install it explicitly from the nuget.org and installing it in my project but is of no…
Suj
  • 19
  • 2
1
vote
1 answer

Generate Nuget Command Automatically?

I've recently known NuGet and MVCScaffolding , So I think it's really good to write a custom scaffolding package for my company to generate some template code, Then I did it , and It works great, But in some cases I need a code generator that…
hm1984ir
  • 554
  • 3
  • 7
1
vote
2 answers

Is it possible to do monorepo with one azure build for several nuget packages?

It is little noisy when you have 10 repositories with 10 nuget packages. I would like to have one repository with 10 nuget packages, but I need one Azure Build with publish only changed nuget packages step and ignore at all unchanged.
1
vote
2 answers

MvvmCross pdb debug symbols not loading in Visual Studio 2019

I'm trying to load the symbol files that are included in the MvvmCross nuget package (while debugging a Xamarin.Android application on an Android 9 device (not an emulator)): None of the above references seem to work, and so when I try to load them…
1
vote
1 answer

Overwrite default nuget.config file

I added in the same place where my .sln file is a nuget.config with this configuration and i also have the default nuget.config in…
andrea
  • 47
  • 1
  • 12
1
vote
0 answers

Embed Nuget dependencies in another nuget with PrivateAssets

I have a netstandard2.0 nugget package that has some dependencies:
fiskolin
  • 1,421
  • 2
  • 17
  • 36
1
vote
1 answer

Dependency Issues with Docusign.Esign.dll's inherit RestSharp Dependency

I am working with a solution in visual studio that has multiple projects in it. One area of the project requires RestSharp 106.10.1, and in another project (that it needs to talk to) we have the Docuign.ESign.dll that has RestSharp 106.3.1 as an…
g10
  • 31
  • 6
1
vote
0 answers

.NET - Distributing a signed (strong-named) library that depends on an unsigned 3rd party library

I have the following requirements for a .NET library that shall be shipped via NuGet: shall be compatible for .NET Framework and .NET Core applications shall be signed/strong-named to allow usage in applications that are signed/strong-named on…
Daniel Lemke
  • 1,966
  • 18
  • 24
1
vote
0 answers

How can I add NuGet packages to one project in my solution and share those packages with all of my other projects in the solution?

I'm working in Visual Studio with a solution that has several projects. Many of these projects all use the same NuGet packages. Every time I need to update the packages I have to go manage the package for the entire solution then select the check…
1
vote
1 answer

Blazor wasm new project not recognizing Radzen Nuget Pkg

If I create a new Blazor wasm (client-side) project with Radzen, I'm not able to compile. Create a new Blazor wasm project Add a nuget pkg (Radzen.Blazor) Add this line to the index.html file Add a @using Radzen.Blazor to the _Imports.razor…
inliner49er
  • 1,300
  • 1
  • 11
  • 19
1
vote
1 answer

Configure multiple source in Nuget.config in Linux (RHEL7)

I am trying to configure multiple Nuget source in nuget.config. Nuget.config is added to the root of the project. With same config I can successfully dotnet build my app on my macbook but when I run the same config in linux I get the following…
user557657
  • 856
  • 1
  • 12
  • 35
1
vote
1 answer

Aspose.Cells NuGet 18.3 Worksheet object seems to to have different API for .Net Core

Until now we used the Aspose.Cells dll (.Net c#) version 17.1, now me changed to Aspose.Cells Nuget package 18.3 and converted to .net core and It seems that the Worksheet class doesn't support many features. e.g. Looks like these ones don't exist…
Amir M
  • 508
  • 1
  • 8
  • 28
1 2 3
99
100