Plugin ~ Dependency between packages in Nuget and dependency in nuget
During the Nuget management package, it is possible that package A requires the support of Package B. Before installing Package A, install package B first. This is called dependency, but in NUGET, this concept exists, such as uncle's Lind. DDD. manager package, which depends on Lind. DDD, after you install Lind. DDD. manager, Nuget checks whether it has dependencies. If yes, it first installs dependencies.
In the nuget package, we need to set its dependency. Note that when you use a visual tool to set the dependency, it will addThe <groups> node must be deleted. Otherwise, the dependent package becomes invalid.!
Next, let's take a look at the correct nuget package code.
In this way, the Lind. DDDNew package later than or equal to version 1.0.3 will be found during the installation package, and then install it first, and then install the current Lind. DDD. ManagerNew!
Knowledge keeps improving!
Efficiency and management are constantly improved!