I am going to use Ninject, my favourite dependency injection library, for this example. Let’s walk through adding a package to a new project. When I first started using NuGet I started with the GUI window but found myself gravitating to the Power Shell console as I became comfortable with NuGet. Once NuGet has been installed there are two (2) usage interfaces to choose from, a GUI window or a Power Shell console. You can either download the NuGet Visual Studio extension from their official web site or install NuGet using the Visual Studio Extension Manager. No more searching the web for the latest version, downloading it manually and figuring out how to add it to your project.īefore we can start adding packages to our solutions we need to install NuGet. It will also, if the package requires it, update your configuration files. NuGet will install the latest version from a central repository and during installation will check for, locate, download and install any dependant packages. Basically, NuGet makes adding 3rd party assemblies to your projects very simple. Since the announcement in January I have been using and increasingly loving NuGet. ![]() ![]() ![]() To quote Scott Guthrie from his January 13th announcement, NuGet is “a free, open source, package manager that makes it easy for you to find, install, and use open source libraries in your projects”. ![]() Along with the release of ASP.NET MVC 3 Microsoft also release a new Visual Studio Extension called “ NuGet“.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |