Click here to Skip to main content
15,901,205 members
Everything / NuGet

NuGet

NuGet

Great Reads

by Nick Polyak
Describes how to install dynamically loaded plugins as nuget packages
by DannyVarod
Fast, stable and powerful creation of NuGet packages
by Stuart Wheelwright
How to produce and publish a NuGet package using AppVeyor, the free continuous build service
by Simon Jackson
MonoGame 3.2 NuGet packages are GO!

Latest Articles

by Nick Polyak
Describes how to install dynamically loaded plugins as nuget packages
by Kevin Mack
What's the need for a private Nuget feed
by CodingCoyote
Tutorial using the Build Task NuGet Package Template with GitHub or `dotnet new`
by Benktesh Sharma
How to handle 'Which has higher version than referenced assembly' error (Error CS1705) through Package Manager Console

All Articles

Sort by Title

NuGet 

28 Jun 2015 by sajidur rahman
I can't add any nuget package in my asp.net MVC Applications An item with the same key has already been added error show. What is the problem i don't know.Full ErrorPM> Install-Package EntityFrameworkAttempting to gather dependencies information for package 'EntityFramework.6.1.3'...
18 Aug 2013 by Xavier Decoster
From a small set of tools to a much larger ecosystem...
14 May 2017 by Sander Rossel
Creating a lightweight JavaScript library that brings proper .NET-like collections and LINQ to JavaScript.
21 Mar 2019 by Amod Kumar Chandra
I am facing following issue NETSDK1064 Package AsyncUsageAnalyzers, version 1.0.0-alpha003 was not found. It might have been deleted since NuGet restore. Otherwise, NuGet restore might have only partially completed, which might have been due to maximum path length restrictions. Can anyone help...
21 Mar 2019 by Richard Deeming
It's a pre-release package, so you'll need the IncludePreRelease flag to install it: Install-Package AsyncUsageAnalyzers -Version 1.0.0-alpha003 -IncludePrerelease Pre-release versions in NuGet packages | Microsoft Docs[^] NB: That package has not been updated in four years, and the GitHub...
6 Aug 2014 by DannyVarod
Fast, stable and powerful creation of NuGet packages
11 Aug 2014 by Stuart Wheelwright
How to produce and publish a NuGet package using AppVeyor, the free continuous build service
15 Jan 2015 by saramgsilva
This article has the goal to show how to update a .Net Backend project from Azure Mobile Services, this mean we will update the references added to the project using Nuget packages.
22 Jul 2015 by Sreekanth Mothukuru
In this article we are going to see how and where to download Visual Studio 2015 to create a brand new simple Asp.Net 5 Web Application and have a quick overview on what's new in C# 6
3 May 2018 by Måns Tånneryd
Extending the entity framework with bulk operations for both inserts and updates
5 Jul 2018 by Herman<T>.Instance
Hi Folks, I am creating websites with same css layout, same masterpage (only app title changes) and the default.aspx. I would like to add these features to a Nuget package so I could reuse the stuff again and again in stead of copy waste.... Is is possible to use a Masterpage from a DLL in...
5 Jul 2018 by GKP1992
Sharing master pages is a bad idea, but if you're willing to go through the pain, Dan Wahlin - Sharing Master Pages Across IIS Applications[^]
12 Nov 2014 by Aradhana Krishna
HiI am using R.Net Nuget package for R functionality in .Net.I can read csv files and save in dataframe and can do calculations.But I want to do calculations with data that I have already in a datatable or List(dotnet) without using csv.csv contains some rows and columns.I have same data in...
19 Aug 2013 by Prince Tegaton
Hello Guys,I am running Visual Studio 2010, i installed Nuget and added SignalR to my project.The main problem here is that i cant find SignalR Hub Class in Add New Item dialog, is it that i have to connect to internet and add it to all websites from Nuget always..Help please..
19 Aug 2013 by Musakkhir
There is no need to install that package every time.Download compatible version of SignalR, copy following dll files from package folder which is already installed in your project and copy these files in bin folder of a...
17 Jan 2014 by Member 10531730
you can find SignalR Hub Class in Visual studio 2013 only
21 Jun 2013 by marcofranssen
CI with Jenkins, MSBuild, Nuget and Git - Part 4
24 Apr 2015 by Vasil Trifonov
ConfigurationTransformations Nuget
3 Oct 2016 by Kausik J. Nag
In this article we are going to implement a step by step approach for Continuous development and Integration model with a distributed version control system, artifactory, package manger and a package repository for third party libraries.
4 Oct 2016 by Kausik J. Nag
In this article, we will optimize our continuous integration and development model with the use of JFrog Artifactory.
22 May 2018 by Arun Endapally
How to create and publish a NuGet package easily
5 Nov 2016 by Arun Endapally
How to create and publish a NuGet package easily
15 Nov 2016 by Pedro Costa Developer
Publish a package file into a package server and consuming it.
17 Jan 2023 by Nick Polyak
Describes how to install dynamically loaded plugins as nuget packages
19 Mar 2016 by KittoKy
On using these libraries in c# console application VS2015 using Emgu.CV.Structure;using Emgu.CV.ML;using Emgu.CV.ML.Structure;I am getting the CS0246 error that "The type or namespace name 'Emgu' could not be found (are you missing a using directive or an assembly...
17 Aug 2023 by temuco
All under .NET 7.0 Given is a custom library isential.crypt.dll that contains no external dependencies. A NuGet package was created from it and stored in a local package source. A second custom library named isential.MySqloverSsh.dll uses three...
16 Aug 2023 by temuco
I noticed that there is a difference between the version of a NuGet package and the version of the assembly it contains. Previously, I had set the assembly version to "1.0.*", which meant that it was automatically incremented with each build....
30 Mar 2016 by Member 12393970
I have created a google service project in which I have added Google.Apis.Drive.v2 package through NuGet. Installation of above package resulted in installation of other dependent packages which included following packages:
25 Jul 2017 by MiniGoel2017
I am using Visual Studio 2017 and creating .Net Standard Library. In this library, I am adding reference to WCF Service by using WCF Connected Service option. As this project is a class library, I am adding its reference in a console app (Executable project). In my .net standard project, I am...
25 Jul 2017 by Dave Kreskowiak
Yes, you have to "install-package" on every project that's going to use it, but you're only installing the executable files once in the solution. Each project is going to have references added to it where they will point to the common folder for the binaries for that library. When you build the...
12 Jan 2014 by Prasaad SJ
Has any one used here the googlelocationservice class before. I would like to know do we need apikey to work with the class. ??According to the following dochttps://developers.google.com/maps/signup?csw=1[^]They say we don't need api key to work with location service but under this...
12 Jan 2014 by Ron Beyer
Maps Usage Limits [^]The service is free up to a usage limit. When you exceed that limit, Google will contact you to purchase a Business API Client ID[^] and bill you based on usage.How do they track you? Probably based on referrer URL...
10 May 2020 by Richard Deeming
You need to install the EF Core command-line tools: EF Core tools reference (.NET CLI) - EF Core | Microsoft Docs[^]
10 May 2020 by Richard MacCutchan
I already gave you the reference at The term scaffold-dbcontext not recognized as name of cmdlet[^]. Please do not repost the same questions.
28 Dec 2022 by EstKells
I want to use the nuget Package ClosedXML, but when I install it and want to execute my Code I always got this Exact error Message: The file or assembly "DocumentFormat.OpenXml, Version=2.16.0.0, Culture=neutral, PublicKeyToken=8fb06cb64d019a17"...
21 Sep 2016 by Mathew Soji
Please refer below .https://www.nuget.org/packages/Whatsapp.NET/[^]How to send WhatsApp Messages in C#[^]http://staging.nuget.org/packages/whatsappapi/[^]Sending WhatsApp Message Through .NET Application by Using C# Coding - DOTNET PROGRAMMER[^]
25 Dec 2015 by Tadit Dash (ତଡିତ୍ କୁମାର ଦାଶ)
In this blog, I will tell you the trick to convert JSON string property to C# Object using Newtonsoft.
10 Oct 2013 by Rion Williams
This post will cover how to get yourself up and running using SignalR within Visual Studio 2010 in a jiffy.
8 Oct 2015 by Ali BaderEddin
This article describes in detail how to set up your first OpenGL FreeGLUT window and provides you with a template for your OpenGL applications
27 Jan 2015 by Sujith Karivelil
This article will help you to create, update and delete events/ appointment in google calendar from your web application.
10 Mar 2014 by mbarbac
Hello,I would like to deliver the source code and the project file (*.csproj) of a library though NuGet. This is not hard, but I have not found a way of doing so and updating at the same time both the dependencies of the project I am delivering and adding a reference to it into the client...
3 Apr 2016 by Member 10376341
Hello All,Well, firstly am very new to this coding and learning step by step.I wanted to use SBAdmin which is a Bootstrap Admin panel for my Web Application, and i have installed the NuGet Package from the Package Manager Console. Now am able to see the Content, Scripts, Fonts generated...
17 Feb 2016 by Member 11670657
Hi All, I have a problem regarding localizaiotn. i use asp.net mvc solution. i have use following code with localization part.@Ajax.ActionLink("@Html.Localize('caseAction_backToIssuedList')", "LoadDebtorInfoBack", new { ...
17 Feb 2016 by Member 11670657
finally i got the answer @Ajax.ActionLink(""+@Html.Localize("caseAction_backToIssuedList")+"", "LoadDebtorInfoBack",
6 Oct 2015 by Manidas Payyoli
I am trying to creating a chat application in windows phone 8.1 using xmpp and openfire server in visual studio 2013 updated 4.I l.For xmpp connection to servr i used these dll.phonesocketserver.dll.phone.xmpp.dllFor my chat application i want use more specifications like...
6 Oct 2015 by Andy Lanng
Hi,There are a lot of question here, but I'll try to answer as best I can."...should I add all dll of these or its source code?"Unless the dll is very large and you need just a snippet of the code, add the whole dll. There's no point stirring up the silt. Keep you code...
31 Mar 2015 by Am Gayathri
How do i add datepicker using bootstrapdatepicker in MVC application?Am creating one application using .net MVC. I want to add datapicker. i downloaded bootstrapdatepicker using nu-get package. Could anyone please explain how to use it ?I tried below but it doesn't work.Addded js and...
23 Sep 2017 by Michael Freidgeim
See answeres in c# - Creating one NuGet package from multiple projects in one solution - Stack Overflow[^]
8 Jan 2024 by Member 10146711
I have created a NuGet package containing a WPF user control in VS 2022 and I just can't figure out how to get the control to appear in the toolbox of the consumer application. I used the Pack command from the drop down menu of the user control...
8 Jan 2024 by Lawyer Sonia
To build a NuGet with visible user control in the toolbox of the consumer app, make sure your UI project is configured to build a NuGet on the build. In your UI project, include the assembly references and package metadata, as well as the user...
7 Apr 2019 by Narendra_kvs
I would like to develop a user interface through which one can send Nuget power shell scripts to the Package manager console and get the output displayed in UI. For that i need information on how to access package manager console through c#. Can any one help me on this? Thanks in advance.
7 Sep 2017 by Member 11217090
Hi Narendra_kvs, Did you get any solution for your query? As I have also the same requirement. If you have got any solution please let me know on the same thread. Thanks.
7 Apr 2019 by Member 14166560
EnvDTE.DTE _ObjDTE; _ObjDTE = (EnvDTE.DTE)System.Runtime.InteropServices.Marshal.GetActiveObject("VisualStudio.DTE"); var script = "Get-Package | Select-Object Id, LicenseUrl"; _ObjDTE.ExecuteCommand("View.PackageManagerConsole", script);
3 Dec 2012 by Vasil Trifonov
How to configure a local Nuget repository
7 Jun 2017 by Puresharper
NuPack is a nuget package used to add a build step to a project in order to pack output into a nuget package.
9 Jul 2020 by CodingCoyote
Tutorial using the Build Task NuGet Package Template with GitHub or `dotnet new`
18 Jan 2016 by dtoth2
Hi, Is there any way to create NuGet packages with Visual Studio 2015? There was an app before, called Coapp but it's support is ended at VS2013 :(EDIT: I need a solution where a package can be created from an Universal C++ project which will be used in another Universal C++ project.
17 Jan 2016 by Kornfeld Eliyahu Peter
1. Open the NuGet Package Management Console (View->Other Windows) and use the command line options, from here: Creating And Publishing A Package[^]2. Compile this from the source: NuGet Package Project extension[^] (source is here: Home[^])
16 Mar 2014 by KatsuneShinsengumi
Hey Guys,My laptop got a blue screen problem. The thing is all of my project is in there, I can open the laptop and access the Visual Studio but I want to move the projects from there to my desktop and continue my work there just to be safe. I'm us Visual Studio Express 2012, with NuGet and...
16 Mar 2014 by Krunal Rohit
That blue will screen would cause the problem for OS but desktop. So it is not a good idea to move your project under same OS.Why don't you first take a backup of your application in Flash Drive/ Dropbox/ GoogleDrive etc like that ??-KR
8 Oct 2014 by Member 11139765
Hi All,I have developed one nuget package and have a reference requirement like,
11 Feb 2021 by EpsilonCoder
Hi, I've following structure for a .NET Framework project: -->ProjectSoln -------->ClassLibraryProj1 -------->ClassLibraryProj2 -------->ConsumerLibraryProj3 ConsumerLibraryProj3 has project reference to ClassLibraryProj1 and ClassLibraryProj2....
11 Feb 2021 by RickZeeland
If NuGet fails to see the dependencies, you can override the behavior by changing the .nuspec file. Below information is taken from: .nuspec File Reference for NuGet | Microsoft Docs[^] Quote: To bypass this automatic behavior and explicitly...
15 Mar 2018 by Gopinath0072
I created one console application to create visual studio project pragmatically, here i am not able install Nuget packages, always var componentModel = (IComponentModel)Package.GetGlobalService(typeof(SComponentModel)); statement returns null values. for your reference i added my code below....
15 Mar 2018 by RickZeeland
See answer here: c# - How to programmatically install a NuGet package? - Stack Overflow[^]
5 Nov 2020 by jflarvoire
I'm trying to setup a Jenkins build system, to automate the build and test of our project when a developer pushes code into our internal github server. The build system is a Windows Server Core with Jenkins and MSBuild. This works fine for a...
2 Mar 2021 by EpsilonCoder
Hi, I've following structure for a .NET Framework project: -->ProjectSoln -------->ClassLibProj1 -------->ClassLibProj2 -------->ConsumerLibProj3 I've defined GlobalAssemblyInfo.cs file at solution level and added the reference to this file in...
1 Mar 2021 by RickZeeland
The problem is probably that you did not use 'Add as link' for GlobalAssemblyInfo.cs in your projects. See information here: c# - How do I automatically set all projects in my solution to the same version? - Stack Overflow[^] You also need to...
2 Mar 2021 by EpsilonCoder
At last I was able to resolve this issue by forcing the nuget to use release configuration while packing. Surprisingly, I was building the solution with Release profile but still nuget was getting confused somehow. I used following command nuget...
24 Feb 2016 by Member 11670657
Hi,I have Asp.net mvc 4 solution. So, i have used to nuget localization package to localize my application. it is working fine on .cshtml file as below example.@Html.Localize("systemName")above "systemName" is the key. It may have different values according to language.And...
28 Jul 2021 by acalafiore
Hi all, first time asking a question but I wasn't able to find a solution to my problem yet. We are starting a new project in .NET and we choose to divide it in differente libraries to maintain it easily. Or so we hope. To keep it as simple as...
25 Jul 2021 by Chris Copeland
.NET optimizes out library references where they haven't been used. So if your "LibraryA" references a particular package but chooses not to use it, it may be optimized out of the DLL when compiled in release mode. I think the correct approach...
28 Jul 2021 by acalafiore
I have chosen to include in each solution the project needed for references. This way there are no missing libraries while running. Not really what I wanted but it's the easiest way.
2 Feb 2023 by Dave Kreskowiak
You don't fix that. There is only one version of the 'Microsoft.ReportView.Common' package available, and that's 10.0.40219.1. That package is not the "official" Microosft package, and hasn't been in active development for the last 9 years! The...
2 Feb 2023 by parthapratimdey007
I am using VS 2013 for a webform project. But when adding a rdlc report I am getting the bellow message "NuGet Package restore failed for project VTS: Unable to find version '10.0.0.0' of package 'Microsoft.ReportViewer.Common'.." What I have...
24 Oct 2013 by RaviRanjanKr
If you are facing issues while installing AdDuplex package then this blog guide you how to add NuGet AdDuplex package.
2 Jun 2020 by gcogco10
Hi team I have an issue almost 2 weeks and want to share this problem perhaps i could get an insight of it. The issue is when i try to launch my IDE visual studio either as Admin nor normal. Nu-get console get this weird exception and dont know...
2 Jun 2020 by phil.o
Maybe a PowerShell execution policy issue. Try to issue the following command on a PowerShell window: Set-ExecutionPolicy Unrestricted -Scope CurrentUser You might have to logout/login to see the change applied to your user session.
11 Jan 2022 by Xarzu
I am starting a new coding job with a new client. The problem I am having is that a lot of issues with namespaces that can not be found or maybe missing directives or an assembly reference. This, I think, is a common thing. So I am wondering...
11 Jan 2022 by Maciej Los
I'd suggest to read these articles: Troubleshooting NuGet Package Restore in Visual Studio | Microsoft Docs[^] Reinstalling and Updating NuGet Packages | Microsoft Docs[^] And finally, i'd suggest to Migrate from packages.config to...
11 May 2015 by Sumit Tech Brain
This is the fundamental tip about what NuGet packages are, the benefit of NuGet, how to install, update and remove NuGet packages using GUI and Command line.
8 Jan 2015 by ShawInnes, Octopus Deploy
Rather than writing our own article, we thought we’d share a real life story with live environments from a genuine developer. Shaw Innes is an Octopus Deploy user.
17 Apr 2015 by Nadeem_Ahmed786
I am facing a problem while performing a demo task on Web API, I am using IoCContainer and an error message is displayed showing that IoCContainer Could not be found(are you missing a using directive or an assembly reference).The problem is not related to the using directive as I already added...
29 May 2017 by Member 9983063
Hello guys,i have getting an error of targeted framework i don't know why am getting this issue please help me and guide me what's the issue and how can i solve this Warning 1 The primary reference "SplashScreen" could not be resolved because it was built against the...
29 May 2017 by jimmson
You are referencing an assembly that has higher .NET framework version than your project has. Change your project .NET version to 4.5.2 and it should work fine.
28 Jun 2014 by deelll
Goal:Install the package in a specific project or usercontrol. You can read the instructions in this link (http://docs.nuget.org/docs/start-here/using-the-package-manager-console).Problem:How should I write the code that make package will be installed in a specified project or...
19 Aug 2014 by Kinna-10626331
I want to install the "Modern UI Charts for WPF" package. I am using Windows 7 , VS Express 2013 and .Net framwork 4.5 .I can run the source code theme provided from next link with no errors: https://modernuicharts.codeplex.com/[^]but when I try to download and link the package from...
20 Aug 2014 by Kinna-10626331
Finally I could do it. First download the correct .dll from here: https://modernuicharts.codeplex.com/downloads/get/674666[^]2)Then copy the file inside of your project.3)Drag and drop the .dll file over the project and double click over it from the "Solution Explorer" in VS...
9 Jul 2015 by OriginalGriff
Almost certainly, you need to talk to Microsoft about this.https://support.microsoft.com/contactus[^] is a good start
23 May 2016 by Jay Ahmedabad
I have added Thinktecture.IdentityServer.Core nuget package.Also installed all other packages on which Thinktecture.IdentityServer.Core package depends.Signed all assemblies using BrutalDev assembly signer.Added all assemblies to GAC.Now I add all nuget packages dll to Package section of...
23 May 2016 by Mehdi Gholam
The PublicKeyToken=null shows that the dll is not signed. Either get a signed version or resign it yourself.c# - Is it possible to resign a signed .net dll with a different key pair? - Stack Overflow[^]strongname - How do you programmatically (re)sign a .NET assembly with a strong name? -...