Stop file-based scripts restoring the ILCompiler package #216
Loading…
Reference in a new issue
No description provided.
Delete branch "fix-script-ilcompiler-advisory"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes a break on main: the "Enforce the coverage ratchet" step fails with NU1903 because file-based apps default to PublishAot=true, so SDK 10.0.100 implicitly restores Microsoft.DotNet.ILCompiler 10.0.0 (GHSA-p3jp-9v83-76w9). The scripts are only run, never published, so all four now set
#:property PublishAot=false.The IDE0055 suppression in .editorconfig, previously scoped to the Playwright probe, now covers
scripts/*.cs, because the analyser rejects any#:propertyline as malformed C# (same cause as ADR-0091).Tested: reproduced NU1903 on all four scripts with the pinned SDK 10.0.100, then
dotnet build --no-incrementalof each is clean after the change. Not run, since they hit a registry, a URL or rewrite the ADR README.Verdict: mergeable
Nothing to act on. All four scripts get the property, NU1903 and audit settings are untouched, and the IDE0055 scope matches the scripts directory.