CONFIGURATION

PackageReference

Declares a package dependency constraint. Synthetic package ID.

Formal Syntax & Structure

csharp syntaxcsharp
<PackageReference Include="Example.Rates" Version="[1.2.0]" />

Working Example

Example Snippetcsharp
// Documentary fragment; see linked lesson for context.<PackageReference Include="Example.Rates" Version="[1.2.0]" />
C# & .NET Reference