July 2017
Beginner
466 pages
9h 37m
English
You can use the XML node PackageReference to define the NuGet package dependencies in the .NET Core project files. You need to add an <ItemGroup> under the <Project> root to declare the package references. You can add multiple project references inside a single ItemGroup node. Use the Include attribute to assign the ID of the dependency package that you are referring, and the attribute Version to set the minimum, maximum, or exact version of the package:
<ItemGroup>
<PackageReference Include="Newtonsoft.Json"
Version="9.0.1" />
</ItemGroup>
The NuGet package reference supports floating versions, by which you can use wildcards to tell NuGet to support only the versions within the specified ...
Read now
Unlock full access