Skip to content

Run ilverify via the tool manifest instead of a hard-coded cache path - #20101

Merged
T-Gro merged 1 commit into
mainfrom
fix/ilverify-net11-tool-bump
Jul 30, 2026
Merged

Run ilverify via the tool manifest instead of a hard-coded cache path#20101
T-Gro merged 1 commit into
mainfrom
fix/ilverify-net11-tool-bump

Conversation

@abonie

@abonie abonie commented Jul 30, 2026

Copy link
Copy Markdown
Member

The EmittedIL IL-verification tests ran ilverify by exec'ing a hard-coded NuGet cache path ({NUGET_PACKAGES}/dotnet-ilverify/9.0.0/tools/net9.0/any/ILVerify.dll). On the net11 CI SDK that guessed path was not populated after dotnet tool restore, so ~215 EmittedIL tests failed with a missing ILVerify.dll.

Invoke the tool through the local manifest with dotnet tool run ilverify so the SDK resolves it wherever it was restored, independent of the NuGet cache layout, tool version, or target framework.

Verified on the net11 SDK (11.0.100-preview.6) with the existing pinned tool: the previously failing Regression_Specialize_ConstraintVerification tests pass 16/16.

@github-actions

Copy link
Copy Markdown
Contributor

✅ No release notes required

@github-actions github-actions Bot added the AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed label Jul 30, 2026
@abonie
abonie force-pushed the fix/ilverify-net11-tool-bump branch from d47d32e to 7d3dc45 Compare July 30, 2026 09:15
@abonie abonie changed the title Bump dotnet-ilverify to 10.0.10 for .NET 11 SDK compatibility Refresh dotnet-ilverify tool to 10.0.10 for the net11 CI SDK Jul 30, 2026
@abonie
abonie force-pushed the fix/ilverify-net11-tool-bump branch from 7d3dc45 to bf146aa Compare July 30, 2026 09:34
@abonie abonie changed the title Refresh dotnet-ilverify tool to 10.0.10 for the net11 CI SDK Run ilverify via the tool manifest instead of a hard-coded cache path Jul 30, 2026
The EmittedIL IL-verification tests ran ilverify by exec'ing a hard-coded NuGet cache path ({NUGET_PACKAGES}/dotnet-ilverify/9.0.0/tools/net9.0/any/ILVerify.dll). On the net11 CI SDK that guessed path was not populated after `dotnet tool restore`, so ~215 EmittedIL tests failed with a missing ILVerify.dll.

Invoke the tool through the local manifest with `dotnet tool run ilverify` so the SDK resolves it wherever it was restored, independent of the NuGet cache layout, tool version, or target framework.

Verified on the net11 SDK (11.0.100-preview.6) with the existing pinned tool: the previously failing Regression_Specialize_ConstraintVerification tests pass 16/16.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 422b6203-341b-4e72-8f93-9d6da463addc
@abonie
abonie force-pushed the fix/ilverify-net11-tool-bump branch from bf146aa to 02133c8 Compare July 30, 2026 10:16
@abonie

abonie commented Jul 30, 2026

Copy link
Copy Markdown
Member Author

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).

@github-project-automation github-project-automation Bot moved this from New to In Progress in F# Compiler and Tooling Jul 30, 2026
@T-Gro
T-Gro merged commit c00299f into main Jul 30, 2026
50 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in F# Compiler and Tooling Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants