Skip to content

Commit

Permalink
Use latest major version in PackageReference (#36)
Browse files Browse the repository at this point in the history
As mentioned in #34
  • Loading branch information
robinvanpoppel authored May 20, 2020
1 parent 70a9dcb commit 8a72f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Add the [NetFabric.Hyperlinq.Analyzer](https://www.nuget.org/packages/NetFabric.
If added manually to the `.csproj`, make sure to set `PrivateAssets` to `all` so that it's not added as a dependency. A [floating version](https://docs.microsoft.com/en-us/nuget/concepts/dependency-resolution#floating-versions) can be used to get the latest version.

``` xml
<PackageReference Include="NetFabric.Hyperlinq.Analyzer" Version="1.*">
<PackageReference Include="NetFabric.Hyperlinq.Analyzer" Version="2.*">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
Expand Down

0 comments on commit 8a72f7f

Please sign in to comment.