Skip to content

Dotnet package download#16681

Draft
ViktorHofer wants to merge 20 commits intomainfrom
dotnet-package-download
Draft

Dotnet package download#16681
ViktorHofer wants to merge 20 commits intomainfrom
dotnet-package-download

Conversation

@ViktorHofer
Copy link
Copy Markdown
Member

To double check:

ViktorHofer and others added 20 commits April 3, 2026 18:59
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant