question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't open or create .Net Interactive notebook

See original GitHub issue

On a clean Windows 11 install of VS Code (or Insiders), and installation of .Net Interactive notebooks, I can’t create or open .Net Interactive notebooks. I’m not sure if this is different from #1813.

.Net Interactive 1.0.2462010 is the latest version that opens a UI when I select “Create a new .Net Interactive Notebook”. Newer versions just hang with the message “Activating Extensions…” which seems to time out after a couple seconds:

image

But even if a notebook (.dib or .ipynb) is created with the earlier versions, I can’t seem to execute any C# code - kernel execution hangs on a Hello World.

Tried installing the .Net 5 SDK, just in case, but that didn’t help. Here’s my full set of .Nets:

PS C:\> dotnet --list-sdks
3.1.416 [C:\Program Files\dotnet\sdk]
5.0.404 [C:\Program Files\dotnet\sdk]
6.0.101 [C:\Program Files\dotnet\sdk]
6.0.200-preview.22055.15 [C:\Program Files\dotnet\sdk]

Repro’d on VS Code:

Version: 1.63.2 (user setup) Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3 Date: 2021-12-15T09:40:02.816Z Electron: 13.5.2 Chromium: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.22000

…and VS Code Insiders:

Version: 1.64.0-insider (user setup) Commit: c6e58d126f6b5676242e32b34180b2a595f29b51 Date: 2022-01-14T05:19:33.429Z Electron: 13.5.2 Chromium: 91.0.4472.164 Node.js: 14.16.0 V8: 9.1.269.39-electron.0 OS: Windows_NT x64 10.0.22000

What can I do to help track down? Should I create a separate ticket? I’ve grown so comfortable using .Net Interactive in my daily workflow, I’m at a loss for what to do!

  • OS
    • [ x] Windows 11
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Firefox
    • Safari
  • Frontend
    • Jupyter Notebook
    • Jupyter Lab
    • nteract
    • [ x] Visual Studio Code
    • [x ] Visual Studio Code Insiders
    • Visual Studio
    • Other (please specify)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
dcucciacommented, Feb 2, 2022

Confirming removing VS 2022 Preview resolves this issue. So it’s MAUI or Interactive for now (FWIW, I chose Interactive 😃).

3reactions
profix898commented, Jan 28, 2022

Same here. Can’t use any .NET Interactive at the moment … I’m on VS Code 1.63.2. I noticed that both of us have a 6.0.200-preview version installed (in addition to latest 6.0.100).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exploring .NET interactive notebooks with VS Code
To create your first notebook, open the command pallet ( F1 or Ctrl+Shift+P ) on Windows, and choose .NET Interactive: Create new blank ......
Read more >
.NET Interactive with SQL!| .NET Notebooks in Visual ...
To create a new notebook, open the Command Palette( Ctrl+Shift+P on Windows or Cmd-Shift-P on macOS ), and select . NET Interactive: Create...
Read more >
NET interactive notebook, cannot use System.Text.Json
I am evaluating NET interactive notebooks. I downloaded the VS code extension and created a dib notebook file.
Read more >
Polyglot Notebooks
Creating Notebooks ​​ To create a new polyglot notebook, open the Command Palette( Ctrl+Shift+P ) on Windows or ( Cmd+Shift+P ) on MacOS,...
Read more >
Announcing .NET Interactive - Try .NET includes .NET ...
NET interactive is a group of CLI (command line interface) tools and APIs that enable users to create interactive experiences across the web ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found