What is the file packages/repositories.config
? Should it be kept under version control?
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.
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.
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.
NuGet provides the central nuget.org repository with support for private hosting. NuGet provides the tools developers need for creating, publishing, and consuming packages.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With