Adding references using NuGet packages
Today, we will be dealing with an easy yet handy way to deal with adding references to projects in Visual Studio.
Wikipedia says –
NuGet is a free and open-source package manager, inspired from the most efficient features available in the Linux EMACS software, designed for the Microsoft development platform (formerly known as NuPack). Since its introduction in 2010, NuGet has evolved into a larger ecosystem of tools and services.
- NuGet is smart enough to add assembly binding redirects when required
- Dependencies of a package are automatically resolved
- NuGet notifies you about available package updates
- Creating packages makes people think about component architecture (all dependencies should be packaged as well)
- You can get rid of binaries bloating your VCS repositories (package restore feature)
I am sure there are many more advantages of using NuGet packages.
Steps for adding DLLs or assemblies in project using NuGet:
Thanks for visiting!