How to install Microsoft.DotNet.Arcade.Sdk into the dotnet sdk folder?

4.1k views Asked by At

I know this is going to sound like a silly question but I am trying to build a solution that requires Microsoft.DotNet.Arcade.Sdk 6.0.0 to be installed inside "C:\Program Files\dotnet\sdk\5.0.101\Sdks\Microsoft.DotNet.Arcade.Sdk\Sdk".
I can see "other" sdks in the "Sdks" folder but just not the "arcade" sdk.

I can't seem to find any documentation here https://github.com/dotnet/arcade on how to install this SDK onto my computer.
I did download the solution and was able to build the solution but that did not install it nor did it build an installer.

1

There are 1 answers

3
Mr Qian On

It is a dotnet package under the github nuget source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json.

You should restore the project from the package source for your own project.

See this official link.

So please try to add it under Tools-->Options-->Nuget Package Manager-->Package Sources:

To be safe, add these four nuget sources:

 <packageSources>  
    <add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
    <add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
    <add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
    <add key="vs-buildservices" value="https://pkgs.dev.azure.com/azure-public/vside/_packaging/vs-buildservices/nuget/v3/index.json" />
  </packageSources>

enter image description here

Then, open your own project and then rebuild your project to test whether it could solve your issue.