![]() ![]() This process is referred to as transitive restore. When installing packages into projects using the PackageReference format, NuGet adds references to a flat package graph in the appropriate file and resolves conflicts ahead of time. Dependency resolution with PackageReference ![]() The exact process depends on the package management format being used. ![]() However, only one version of a given package can be used in a project, so NuGet must choose which version is used. When multiple packages have the same dependency, then the same package ID can appear in the graph multiple times, potentially with different version constraints. This produces what's called a dependency graph that describes the relationships between packages at all levels. Those immediate dependencies might then also have dependencies on their own, which can continue to an arbitrary depth. Any time a package is installed or reinstalled, which includes being installed as part of a restore process, NuGet also installs any additional packages on which that first package depends. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |