You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 20d98e5
Browse filesBrowse the repository at this point in the historyBrowse files
fix(build): restore the tools once per build instead of once per project
A solution restores its projects in parallel, so `ToolRestore` ran `dotnet tool restore` in every project
at the same time and all of them touched the same marker file. The `Restore dependencies` step of
the Copilot setup, which restores the solution, failed on Linux after `ToolRestore` started to run
on every restore.
Every project now delegates to one instance of `Directory.Build.targets`, which MSBuild builds once per build,
so the tools are restored once and the other projects wait for that run.
The Copilot setup no longer restores the tools on its own before restoring the solution.
`Format` says why it runs Fantomas twice.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
0 commit comments