Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ASP.NET MVC3: What is the packages.config for?

What is the asp.net MVC packages.config for?

Do I need items in there to reflect what's being used within the site/application?

like image 801
Mark Redman Avatar asked Jun 10 '11 09:06

Mark Redman


People also ask

What is the use of packages config?

The packages. config file is used in some project types to maintain the list of packages referenced by the project. This allows NuGet to easily restore the project's dependencies when the project is to be transported to a different machine, such as a build server, without all those packages. If used, packages.

Where is NuGet packages config?

If you right click the project in question you can select "Manage nuGet Packages" from the menu. After you do that you can click "installed packages" on the left hand side to see the packages that you currently have installed. These are what you are seeing in your "packages. config" file.

Where is package config file located?

pc. By default, pkg-config looks in the directory prefix/lib/pkgconfig for these files; it will also look in the colon-separated (on Windows, semicolon-separated) list of directories specified by the PKG_CONFIG_PATH environment variable.

What is ASP Net mvc3?

ASP.NET MVC 3 is a framework for developing highly testable and maintainable Web applications by leveraging the Model-View-Controller (MVC) pattern.


1 Answers

This file is managed by the NuGet infrastructure. It's used to track installed packages with their respective versions. If you installed the ASP.NET MVC 3 Tools Update it uses NuGet by default to track packages such as jQuery, EntityFramework, Modernizr. That's why you might be seeing this file when you create a new bare bone project.

like image 129
Darin Dimitrov Avatar answered Sep 19 '22 16:09

Darin Dimitrov