Draft
Conversation
Replace MSBuild-based toolset restore with 'dotnet package download' in both tools.sh and tools.ps1. Add a new DotNet helper function that mirrors MSBuild-Core's CI error handling pattern for running arbitrary dotnet commands. The toolset initialization now downloads the Arcade SDK package into the NuGet cache, copies the tools folder to artifacts/toolset/<version>, and resolves Build.proj from SdkTasks/ with a fallback to the old location for backward compatibility. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move SdkTasks/ from tools/SdkTasks/ to the Arcade SDK package root as a sibling of tools/. Update the csproj to pack SdkTasks/ separately and update both tools.ps1 and tools.sh to copy SdkTasks/ from the new package location during toolset initialization. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Rename the SdkTasks folder to sdk-tasks for consistent kebab-case naming. Update all references in tools.ps1, tools.sh, sdk-task.ps1, sdk-task.sh, and the Arcade SDK csproj. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
ViktorHofer
added a commit
to dotnet/dotnet
that referenced
this pull request
Apr 4, 2026
Port of dotnet/arcade#16681. Replaces the MSBuild-based restore in InitializeToolset with 'dotnet package download', adds a reusable DotNet helper function to tools.sh/tools.ps1, and moves SdkTasks to a new 'toolset' folder at the package root with backward compatible fallbacks for the old layout. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
To double check: