Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@
<IsPackable>false</IsPackable>
</PropertyGroup>

<PropertyGroup Label="Enabled Polyfills">
<!--https://github.com/meziantou/Meziantou.Polyfill?tab=readme-ov-file#supported-polyfills-->
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

XML comment formatting: add a space after <!-- for readability/consistency (e.g., <!-- https://... -->).

Suggested change
<!--https://github.com/meziantou/Meziantou.Polyfill?tab=readme-ov-file#supported-polyfills-->
<!-- https://github.com/meziantou/Meziantou.Polyfill?tab=readme-ov-file#supported-polyfills-->

Copilot uses AI. Check for mistakes.
<Polyfill></Polyfill>
<Polyfill>$(Polyfill)|T:System.Threading.Lock</Polyfill>
<MeziantouPolyfill_IncludedPolyfills>$(Polyfill)</MeziantouPolyfill_IncludedPolyfills>
</PropertyGroup>

<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
Comment on lines +21 to 26
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

<Polyfill></Polyfill> followed by <Polyfill>$(Polyfill)|T:System.Threading.Lock</Polyfill> expands to a value that starts with a leading | (because $(Polyfill) is empty). If MeziantouPolyfill_IncludedPolyfills doesn’t tolerate empty entries, this can prevent the Lock polyfill from being applied (and break net8 builds). Prefer setting MeziantouPolyfill_IncludedPolyfills directly to T:System.Threading.Lock, or append conditionally only when the existing value is non-empty (and avoid the extra Polyfill property altogether).

Suggested change
<Polyfill></Polyfill>
<Polyfill>$(Polyfill)|T:System.Threading.Lock</Polyfill>
<MeziantouPolyfill_IncludedPolyfills>$(Polyfill)</MeziantouPolyfill_IncludedPolyfills>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<MeziantouPolyfill_IncludedPolyfills>T:System.Threading.Lock</MeziantouPolyfill_IncludedPolyfills>
</PropertyGroup>
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">

Copilot uses AI. Check for mistakes.
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
Expand Down