s/ignored/limited/ in that PackageReference part

YoshiRulz 2025-04-18 23:42:31 +10:00
parent c4b84fd4a0
commit e7486e7067
1 changed files with 1 additions and 1 deletions

@ -117,7 +117,7 @@ public static ReadOnlySpan<TTo> UnsafeDowncast<TFrom, TTo>(ReadOnlySpan<TFrom> s
## MSBuild `Condition` placement ## MSBuild `Condition` placement
On (older versions of?) VS, `Condition` is ignored if placed on a property/item. On (older versions of?) VS, `Condition` is ignored if placed on a property/item.
It's also ignored if placed on a `<PackageReference/>` (according to [docs](https://learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#adding-a-packagereference-condition) circa .NET 8). It's also limited to a certain subset of expressions when placed on a `<PackageReference/>` (according to [docs](https://learn.microsoft.com/en-us/nuget/consume-packages/package-references-in-project-files#adding-a-packagereference-condition) circa .NET 8).
Create a dedicated `<PropertyGroup/>`/`<ItemGroup/>`. Create a dedicated `<PropertyGroup/>`/`<ItemGroup/>`.
## MSBuild project evaluation (without build) ## MSBuild project evaluation (without build)