Click here to Skip to main content
15,893,622 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 Updated

NuGet 

15 May 2014 by Abhinav S
This should help you - http://msdn.microsoft.com/en-us/library/ms235408%28v=vs.90%29.aspx[^].
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...
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.
21 Sep 2014 by Alexei Shcherbakov
How to make almost universal NuGet 'System.Data.Sqlite' package for .NET and Mono
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
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...
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...
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...
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...
5 Nov 2016 by Arun Endapally
How to create and publish a NuGet package easily
22 May 2018 by Arun Endapally
How to create and publish a NuGet package easily
16 May 2014 by Ashok19r91d
Just append your contry code with Phone Number while parsing...I'm not sure of your class "PhoneNumberUtil", But It's a Simple trick which I hope to be work good.Try using like this.PhoneNumber numberProto = phoneUtil.Parse("+91" + phoneNumber, "");
8 Sep 2015 by Avinash6474
Hi All,I come across the NuGet plugin to manage menu 'MvcSiteMapProvider MVC5'. I have a question or need more clarification before I start using it. How much it will efficient it will in menu mapping?-With this it is easy to create menu with an XML file but how it efficient in real...
21 Jan 2020 by Bastien Vandamme
I'm looking for a library that can ease me to load official countries and sub-division (province, state, region or ... ) to fill checkbox and ensure all my user use same list of countries? Is there any C# version of Carmen Ruby Gem? Or something else that could help. GitHub -...
22 Mar 2019 by Benktesh Sharma
How to handle 'Which has higher version than referenced assembly' error (Error CS1705) through Package Manager Console
20 Feb 2017 by Bryian Tan
Password Strength Indicator using jQuery and XML + NuGet Package
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...
16 Sep 2015 by Code108
Both works equally as far as performance is concerned. Also for any changes to the menu content coming from DB, you will have to push those changes for both and recreate the XML or SiteMap file.
9 Jul 2020 by CodingCoyote
Tutorial using the Build Task NuGet Package Template with GitHub or `dotnet new`
15 May 2014 by CPallini
From what I see in the source code[^], the getNunberType method parameter should be a PhoneNumber object while you are passing a string, instead. So, in order to uset it, you should first find a way to obtain a PhoneNumber object from your string.
6 Aug 2014 by DannyVarod
Fast, stable and powerful creation of NuGet packages
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...
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...
1 Mar 2023 by Dave Kreskowiak
You do not supply what you think is the filename of the package. NuGet doesn't work that way. The package name to install is just "Microsoft.VisualBasic". This will install the latest available stable version. Install-Package...
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...
5 Feb 2018 by Dirk Bahle
Hi, I am not sure what your exact problem is because the question is rather wake but have you tried using the dependency property in the .nuspec file to ensure that these dependencies can be resolved by nuget, if so, what does you nuspec file look like? NUSPEC-Dateireferenz für NuGet |...
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.
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....
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...
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...
20 Dec 2014 by Erich Ledesma
How to make solution templates with NuGet packages
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 2015 by FantasticFiasco
My NuGet package contains a app.config.install.xdt file, but its transformations aren't applied when the app.config file is missing in the project I am installing the NuGet into.How do I enforce the app.config configuration both when file exists and when it doesn't?
14 May 2019 by GaneshBodke11
I have cloned one project from GitHub. when i tried to build that project, i am getting an error like : " Severity Code Description Project File Line Suppression State Error NuGet Package restore failed for project Application\BEL.FeedbackWorkflow: Unable to find version '1.5.2' of package...
10 May 2020 by gcogco10
Hi Team My Scoffold-DbContext command does not seem to run and getting an exception. Basically i have an updated table definition on my database. I want my table definition to appear on my Model folder within MVC web application. What I have...
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...
19 Oct 2021 by gcogco10
Hi Team I want to create Add-Migration eNtsaMigration, i kept receiving this message each time. I have installed all the required packages on my project. Especially for creating Migration. What could be an issue? No DbContext was found in...
28 Aug 2014 by Gihan Liyanage
Try this solution,get a Back up before dohttp://docs.nuget.org/docs/reference/package-restore[^]
28 Sep 2017 by Girijesh Kr
Once you publish a particular version of a package to a feed, that version number is permanently reserved. You cannot upload a newer revision package with that same version number, or delete it and upload a new package at the same version. That because many package clients, including NuGet, keep...
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[^]
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....
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...
3 Mar 2015 by Ian_Paullin
For the past few months, I’ve been analyzing Octopus Deploy in terms of it’s components, architectural design and benefits of said design decisions. In this article, we’re going to bring everything together to see the sum of all the parts.
30 Jul 2014 by jacks0009
there are many micro ORM in the market. First I want to know , what is the need of ORM library ? Is it feasible to use 'Insight.Database' micro ORM for an enterprise applications ? if one of my table has 100+ columns, should I have corresponding business object where all insertions are handled...
22 Nov 2021 by Jamie888
hi I have a project developed using .NET Core 1.1 MVC and have just recently created a new repository in Azure DevOps. I have uploaded all the necessary files into the DevOps and build the project. But I encounter an error stating "Packages failed to restore" and further troubleshooting leads to...
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...
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...
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.
15 May 2014 by Jocelyne El Khoury
Dim phoneUtil = PhoneNumbers.PhoneNumberUtil.GetInstance() Dim a = phoneUtil.getNumberType("96170274754")I keep getting the below error: Error 4 'GetNumberType' is ambiguous because multiple kinds of members with this name exist in class...
16 May 2014 by Jocelyne El Khoury
i'm using the below:bool isSuccess = false; PhoneNumberUtil phoneUtil = PhoneNumberUtil.GetInstance(); PhoneNumber numberProto = phoneUtil.Parse(phoneNumber, ""); var regionCode = phoneUtil.GetRegionCodeForNumber(numberProto); bool isValid =...
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...
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.
1 Mar 2023 by Kevin Dzimiera 2022
Der Parameter "Source" wird für Projekte mit transitiver Paketverwaltung nicht berücksichtigt: Powerpacks1. Es werden die aktivierten Quellen in Ihrer NuGet-Konfiguration verwendet. Pakete für...
1 Mar 2023 by Kevin Dzimiera 2022
Moin Dave Kreskowiak, Vielen Dank für die Hilfe. Habe es ausprobiert und es funktioniert nicht aber ich geben dir das Ergebins was ich bekommen habe bzgl. (Install-Package Microsoft.VisualBasic ...
1 Mar 2023 by Kevin Dzimiera 2022
PM> Install-Package Microsoft.VisualBasic Install-Package : Das Paket "Microsoft.VisualBasic" wurde in der Quelle "" nicht gefunden. In Zeile:1 Zeichen:1 + Install-Package Microsoft.VisualBasic + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +...
1 Sep 2020 by Kevin Mack
What's the need for a private Nuget feed
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...
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...
15 Jun 2018 by kkakadiya
Hello, I need to work with Excel in my application. so, I am trying to install Microsoft.Office.Interop.Excel with nugget package but it is giving below error : Install-Package : An error occurred while retrieving package metadata for 'HtmlAgilityPack.1.8.4' from source 'E:\Sample\packages'. ...
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[^])
20 Aug 2014 by Krishna Siva
I am writing MSbuild scripts to automate my build process without using visual studio for building my application. Recently stuck up with this error " $(projectpath)\.nuget\nuget.targets(93,9): error : Package restore is disabled by default. To give consent, open the Visual Studio...
21 Aug 2014 by Krishna Siva
Sorry, Use the first try option and run your vs command prompt as an admin. I have fixed it myself.
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
11 Oct 2015 by Krunal Rohit
If they are dependent on each other, you might club them in one package.Please refer the below links to create the NuGet packages from .csproj...
12 Aug 2022 by lalitjoshilalit
0 We are using mentioned package in our project and suddenly getting the below error in Azure build pipeline. The NuGet command failed with exit code(1) and error(Unable to find version '1.1.2' of package 'Kendo.DynamicLinq'....
12 Aug 2022 by lalitjoshilalit
Thanks @Richard Deeming. I had found below package to fix this issue. There is a GitHub repository for the package: GitHub - kendo-labs/dlinq-helpers: Add server paging, filtering and sorting via Dynamic Linq[^]
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...
18 Aug 2016 by M,AqibShehzad
Here are some useful tools for .NET developers
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...
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...
21 Jun 2013 by marcofranssen
CI with Jenkins, MSBuild, Nuget and Git - Part 4
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[^]
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...
13 Aug 2014 by Mdimagh Firas
This tip/trick shows you how to add navigation between pages with MVVM Light Toolkit in Windows Phone 8
22 Aug 2014 by Mdimagh Firas
This tip/trick shows you how to add bindable AppBar with MVVM Light Toolkit in Windows Phone 8
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? -...
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...
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 Jan 2014 by Member 10531730
you can find SignalR Hub Class in Visual studio 2013 only
22 Nov 2021 by Member 11007594
I came across this old post, but here's a lead: Install and manage NuGet packages in Visual Studio | Microsoft Docs[^] I think a good option for you would be to add the internal source to your nuget.config in your project. You probably found...
8 Oct 2014 by Member 11139765
Hi All,I have developed one nuget package and have a reference requirement like,
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.
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",
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...
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:
24 May 2017 by Member 13213048
Hello, So I am getting close to making my dream application... but I may be a bit lost. I just installed a StockSharp API using NuGet. NuGet Gallery | StockSharp API (S#.API) 4.3.24[^] I can see that it has imported lots of references under the 'References' tab, but I cannot find...
18 Oct 2019 by Member 13522501
hi is it necessary to be online for use nuget? i download nuget and install it. but vs2015 don't recognize. i am offline. must be online? thanks What I have tried: i do somethings but i dont get a good result.........
18 Oct 2019 by Member 13522501
hi my pc don't connect to internet. i download some package of nuget from internet. but when i install them in console of vs2015, the below errors would appeared: Install-Package : The current environment doesn't have a solution open. At line:1 char:16 + Install-Package
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);
15 Dec 2022 by Member 15752716
In VS2015 I could install nuget packages, a packages folder and a packages.config file were automatically created in my solution. Also references were automatically added. In VS2017 however I can't install any nuget package, I get an error...