Skip to content

[LOTP] Add NuGet #94

@tr4l

Description

@tr4l

Description of the LOTP tool

NuGet is a package manager for .NET, designed to facilitate the creation, sharing, and consumption of useful code

Configuration files

NuGet.config

Documentation

https://learn.microsoft.com/fr-fr/nuget/reference/nuget-config-file

Additional notes

NuGet config can be placed at solution level (or any parent of the solution ...), user level, and computer level.
When multiple nuget.config are found, the config is actualy "merged" into an "effective" nuget.config.

The next details will blow your mind.
Once you merged (or not merged) your nuget.config, and have several feeds for package (typical usage is public/private/internal feed for package), you may think that the order of package feed in the list is important.

But it's not the case.

NuGet/Home#5611

The "fastest" feeds win. Whatever if it's private/public/first/last.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions