Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the Nuget repositories.config file for?

What is the file packages/repositories.config? Should it be kept under version control?

like image 445
Colonel Panic Avatar asked Jun 26 '12 12:06

Colonel Panic


People also ask

What is the use of NuGet config file?

A NuGet. Config file is a simple XML text file containing key/value pairs as described in the NuGet Configuration Settings topic. Settings are managed using the NuGet CLI config command: By default, changes are made to the user-level config file.

What is repository config?

The Desktop Manager stores configuration data in a configuration repository. A configuration repository stores the following three types of configuration data: Organization structure: describes the structure of an organization.

Where does the NuGet config file go?

The NuGet Visual Studio extension, the NuGet Package Manager Console, and the NuGet command-line tool all make use of the NuGet configuration file, which by default is located under %AppData%\NuGet\NuGet. config.

What are NuGet repositories?

NuGet provides the central nuget.org repository with support for private hosting. NuGet provides the tools developers need for creating, publishing, and consuming packages.


1 Answers

According to Nuget dev David Ebbo

If you use the Package Restore workflow, you can completely omit the Packages folder from source control (including this file).

https://stackoverflow.com/a/7297465/284795

like image 183
Colonel Panic Avatar answered Oct 23 '22 09:10

Colonel Panic