dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
MIT License
2.85k stars 381 forks source link

Connect-wpf sample app not running because cannot find Microsoft.DotNet.Arcade.Sdk #2582

Open c1sc0 opened 1 year ago

c1sc0 commented 1 year ago

Describe the bug

I tried to run the provided sample app in VS Code, but it failed with an Omnisharp error:
Unable to find package Microsoft.DotNet.Arcade.Sdk with version (= 8.0.0-beta.22554.2)

Please complete the following:

.NET Interactive © 2020 Microsoft Corporation Version: 1.0.360602+9bf026dabac44a6256a65168fa93dcb7e2edcca4 Library version: 1.0.0-beta.22606.2+9bf026dabac44a6256a65168fa93dcb7e2edcca4 Build date: 2022-12-29T12:27:44.9947868Z

Possible solution is to add the arcade's public nuget source to the nuget.config:

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

brettfo commented 1 year ago

This is certainly something we'd like to take a better look at, but in the meantime you should be able to copy that sample's directory somewhere outside of the repo and have it behave like normal. The Arcade SDK is simply an internal thing that all dotnet repos use to build that doesn't directly impact this scenario.