phmonte / Buildalyzer

A utility to perform design-time builds of .NET projects without having to think too hard about it.
MIT License
593 stars 94 forks source link

PackageReference can contain name of package in Update instead of Include #170

Closed eNeRGy164 closed 3 years ago

eNeRGy164 commented 3 years ago

Came across this researching https://github.com/eNeRGy164/LivingDocumentation/issues/37.

It seems you can use

<ItemGroup>
    <PackageReference Update="Microsoft.NETCore.App" Version="2.1.0" />
</ItemGroup>

and Buidalyzer currently only support

<ItemGroup>
    <PackageReference Include="Microsoft.NETCore.App" Version="2.1.0" />
</ItemGroup>

to get the name.