interactive icon indicating copy to clipboard operation
interactive copied to clipboard

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

Open c1sc0 opened this issue 3 years ago • 3 comments

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

  • OS
    • [x] Windows 11
  • Frontend
    • [x] Visual Studio Code

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" />

c1sc0 avatar Dec 29 '22 13:12 c1sc0

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.

brettfo avatar Jan 03 '23 18:01 brettfo

I also ran into this and copied out the folder, which let is compile and run, but then the notebook call to connect to the named pipe fails in VS Code:

Image

michael-hawker avatar Oct 18 '24 17:10 michael-hawker

@michael-hawker This is unrelated to the original issue. The repo has been updated to use the new magic command API (#3567) so it will only run in VS Code Insiders until we publish the new API to VS Code stable.

jonsequitur avatar Oct 18 '24 18:10 jonsequitur