-
Notifications
You must be signed in to change notification settings - Fork 30.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET Interactive install flow is a little silly... #129652
Comments
I think this would be included in the getting started flow that @misolori has been looking into |
I haven't seen this type of bug in a while. @TylerLeonhardt, are you able to repro this with notebooks created more recently? I think that part of the issue here might be that the older .ipynb files created for .NET Interactive didn't contain kernel and language metadata that could be used to select the correct kernel, so Python is assumed. /cc @brettfo |
@jonsequitur FYI just in case, this is coming up because VS Code is shipping built-in support for ipynb files, i.e. the |
@TylerLeonhardt Do you happen to have the dev log? Am specifically interested in "Failed to set document metadata for ..." |
Unfortunately, that one doesn't show up anymore but I remember it was just complaining about "Unable to find appropriate .NET SDK." as well. |
@jonsequitur it's very likely the cause then. It's a pretty old ipynb: |
If I create a new .NET Interactive (C#) blank notebook and only having the Jupyter + .NET Interactive extensions installed, I still get prompted to install the Python extension. Is this still correct? And then choosing ".NET Interactive" as the kernel I get the same messages: I don't have any .NET SDKs installed |
That's not correct. |
I assessed the install flow for .NET notebooks and there certainly a lot of room for improvement that overlaps across VS Code + .NET:
CleanShot.2021-10-04.at.14.47.24.mp4Not sure whether these issues should live in the Jupyter or .NET extension or in VS Code. Anyone have any thoughts? |
I've separated out the various issues into their respective repositories so will be closing this issue in favor of those. |
Testing #129463
And I don't want to manually install the .NET SDK on this machine so I'm stopping here. Maybe that error is expected, but is the Python extension also needed?
cc @colombod @jonsequitur
The text was updated successfully, but these errors were encountered: