Skip to content

Dotnet package download - #16681

Closed
ViktorHofer wants to merge 20 commits into
mainfrom
dotnet-package-download
Closed

ViktorHofer wants to merge 20 commits into
mainfrom
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
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 <[email protected]>
@ViktorHofer

Copy link
Copy Markdown
Member Author

Got merged into the VMR

@ViktorHofer
ViktorHofer deleted the dotnet-package-download branch April 14, 2026 12:06
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