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

Get dotnet pack excuted full name path and nuget push in post-build event

I want to build my dll, and use dotnet pack to generate *.nupkg file. Then use nuget push to publish my dll. dotnet pack --no-build nuget setapikey xxx-xxx-xxx-xxx-xxx -source xxxxxxxxxxxxxxxxxxxxxxx nuget push yyyyyyyyyyyyyyyyyyyyyyyyy -source…
Vincent
  • 3,124
  • 3
  • 21
  • 40
1
vote
1 answer

.NET Core Bootstrap breaks BuildBundlerMInifier

I'm using the BuildBundlerMinifier Nuget package in a .NET Core 2.1 application. When trying to add bootstrap.js to the BundleConfig, sitebundle.min.js file gets deleted. If I remove bootstrap.js from BundleConfig, the bundle and minification…
KidBilly
  • 3,408
  • 1
  • 26
  • 40
1
vote
1 answer

NuGet dependency files copied in build output directory when targeting .NET Core+ but not copied for .NET Framework

I made a NuGet package, Askaiser.Marionette, that targets .NET Standard 2.0/2.1 and .NET 5. Two of its dependencies are OpenCvSharp4 and OpenCvSharp4.runtime.win (native OpenCV bindings for Windows x64/x86). Whenever I consume my package in a .NET…
Anthony Simmon
  • 1,579
  • 12
  • 26
1
vote
1 answer

Is there anyway to get reports and charts using .NET Core Windows Application?

Can someone please let me know that how I can get reports using MySql database and .NET Core 3.1 C# Windows Application. Is there any NuGet Packages to get Chart and report viewer controls which can support to .Net Core? I could not see the chart…
ab_404
  • 61
  • 7
1
vote
0 answers

How to make UI NuGet package?

I want to make UI NuGet package like Guna2 UI or Bunifu UI, but I don't know how to make it. Can you tell me how to make UI NuGet package?
gloomn
  • 13
  • 3
1
vote
1 answer

Azure Pipelines .net core 3.1 library with references to other libraries how to create one nuget package

I have Visual Studio solution with 10 .net core 3.1 library projects (let's call them CORE). One of them is a main project. It has references to other projects. I want to have one nuget package (stored in azure feed) which I can use in my other…
ElConrado
  • 1,477
  • 4
  • 20
  • 46
1
vote
0 answers

How to replace a nuget package with a dll in a large solution

I need to make changes to a big (really big) solution. To achieve this, I have to change some code in a custom NuGet package used by the projects in the solution. But I can't build a modified version of the package in the NuGet feed and then just…
1
vote
0 answers

Dependencies to .Net libraries packages

I have a solution in the visual studio with many projects consist of startup project and some libraries that libraries are used in the startup project. I have installed a package for one of the libraries but it does not work until I install that…
Vahid Bahramian
  • 134
  • 1
  • 7
1
vote
1 answer

Missing static file from nuget package on install

I am trying to include a global configuration file in my nuget package. This is what I have so far: In my csproj I have the following: true
aleczandru
  • 5,319
  • 15
  • 62
  • 112
1
vote
2 answers

How can I access the Value of my CommandLineParser?

There is something I don't understand with the NuGet package CommandLineParser. This is the first time I see this? Let me show you first: On the left in my Auto Watch frame I can see the Value property. But, on the right, in Immediate Window I…
Bastien Vandamme
  • 17,659
  • 30
  • 118
  • 200
1
vote
2 answers

Why name of the package is not accepted for 'using' clause

I have just started exploring NuGet in Visual Studio so this is pretty much a beginner question. I am trying to understand if name of a NuGet package as it appears in Solution Explorer is always the thing what we include in using clause? Here is the…
Dhiraj
  • 3,396
  • 4
  • 41
  • 80
1
vote
1 answer

Nuget package is not listed on ADO Artifacts, but I can't upload because it already exists?

I have a newly created Feed in Azure DevOps where I'm hosting my Nuget packages. I uploaded a bunch, but when I tried to download My.Package.1.0.4 it isn't listed in the feed; neither in VS nor on the web portal. My.Package.1.0.5-beta-2 is there,…
Scott Baker
  • 10,013
  • 17
  • 56
  • 102
1
vote
0 answers

How to add a local library to a C# web application to debug?

I have a project which is published as a nuget package(No way to run standalone). I'm installing the above said nuget package in other project and consuming it. Now I need to debug the installed nuget package. I have the package's code on my local…
1
vote
0 answers

msbuild with p:RunOctoPack missing files

DLLs are missing when I package using MSBuild. msbuild ./MyProject.vbproj /p:RunOctoPack=true /p:OctoPackEnforceAddingFiles=true There are no missing files if I use octo pack directly octo pack --id="testing" --format="zip" --version="3.3.3"…
Don Chambers
  • 3,798
  • 9
  • 33
  • 74
1
vote
2 answers

Consuming nuget packages in azure synapse c# notebooks from nuget feed in Azure Devops

We have created a dll in VS and published it to nuget feed in Azure Devops. We are able to consume it in VS since it is in the same machine with the config file. However we were unable to find a way to use it in Synapse Spark C# notebooks. We tried…