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.8k stars 374 forks source link

Opening dib file never loads #3507

Open onionhammer opened 3 months ago

onionhammer commented 3 months ago

Describe the bug

Woke up this morning, and for some reason dib files wont open; even brand new empty ones[

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ): Cant run it because it wont load

Screenshots

If applicable, add screenshots to help explain your problem.

image

image

image

image

onionhammer commented 3 months ago

Polyglot notebooks appear to be incompatible with dev drives

https://learn.microsoft.com/en-us/windows/dev-drive/#storing-package-cache-on-dev-drive

jonsequitur commented 3 months ago

There was a VS Code update. I'm not able to repro this and was wondering if you have a pending update, which will often cause the extension to fail until reloaded.

Or are you only seeing the issue when using a dev drive?

onionhammer commented 3 months ago

Or are you only seeing the issue when using a dev drive?

I am. I switched the NUGET_PACKAGES env var from the dev drive, and it started working again

jonsequitur commented 3 months ago

That's very likely a NuGet issue. You might verify that by seeing if the same package reference and NuGet path works for an ordinary project.

onionhammer commented 3 months ago

Everything else works; dotnet global tools all work, dotnet build/restore etc work, just .NET notebooks dont (for me). Have you not been able to reproduce?