-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
Labels
area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework
Description
I have cloned dotnet/aspnetcore
and when I run .\restore.cmd, it reports missing libraries.
The main issue is the Microsoft.DotNet.Arcade.Sdk. I have tried the following steps:
-
Create new project
-dotnet new classlib- Updated the .csproj to include:
<Project Sdk="Microsoft.DotNet.Arcade.Sdk/11.0.0-beta.25524.106"> - Ran:
dotnet restore --source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json - Verified the package:
cd C:\dev\aspnetcore powershell -ExecutionPolicy Bypass -NoProfile -File .\eng\build.ps1 -Bootstrap
-This fails with: MSB1001:
Unknown switch ,Switch: -bootstrapI seems this is due to an older version of the Arcade SDK. I am looking for guidance to download and restore the correct version (possibly 11.0.0-beta.25524.106) so that the build can succeed.
- Updated the .csproj to include:
Environment:
- VS 2026 insider/VS2022
-.NET SDK installed:- 9.0.306 [C:\Program Files\dotnet\sdk]
-10.0.100-rc.1.25420.111 [C:\dev\aspnetcore.dotnet\sdk]
-10.0.100-rc.1.25451.107 [C:\Program Files\dotnet\sdk]
-10.0.100-rc.2.25502.107 [C:\Program Files\dotnet\sdk]
- 9.0.306 [C:\Program Files\dotnet\sdk]
Metadata
Metadata
Assignees
Labels
area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworkIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework