Use NuGet as package manager visual studio


Following steps shows how to use NuGet with visual studio:

1.  Tools—>Extension Manager..

1.ExtensionManager

 

2.  Click open gallery and download NuGet Package Manager

2.Download_NuGetManager

 

3. Wait to complete the download process.

3.Downloading

 

4.

4.Installation_complete

 

5. Now from Tools—>Options—>Package Manager—–> General , Check Allow NuGet to download missing package. 

5.CheckForMissedPackages

 

6.  Click yes to allow NuGet to automatically download the missing package components during build.

6.ConfirmNuGetControl

 

7.  Now right click on the solution node, and click ‘Enable NuGet package Restore’

6.EnableNuGetPackageRestore

8.  Configures the solution to restore NuGet packages on build.

7.Configuring_the_application_to_restore_nuget_package

 

 

9.  Now to add jquery to your project, just open the Tools—>Extension Manager..—>Online Gallery—-> Search for jquery. From the result view click install on jQuery.

7.InstallJquery

 

10. Now click OK to confirm adding Jquery to the project.

8.AddJquery_to_the_Project

 

11.  Now to add log4net to your project, just open the Tools—>Extension Manager..—>Online Gallery—-> Search for log4net. From the result view click install on log4net.

9.InstallLog4net

 

12. After installation confirm adding to the solution.

10.Log4net_is_added

13. Package folder is added out side of the solution folder.

11.PackageFolder_added

 

 

14. Manage the installed projects through NuGet.

13.ManagePackages

 

15.  Click the installed packages tab, now its easy to manage.

14.Installed_package

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: