Skip to content

Unable to restore Microsoft.DotNet.Arcade.Sdk when building ASP.NET Core from source #64231

@nithyav2017

Description

@nithyav2017

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:

  1. 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: -bootstrap

    I 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.

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared framework

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions