Skip to content
This repository was archived by the owner on Apr 27, 2026. It is now read-only.
This repository was archived by the owner on Apr 27, 2026. It is now read-only.

When can we follow up with .NET 10? #4086

Closed

Description

@nczsl

The official version of .NET 10 has been released, so please update it as soon as possible.

Activity

  1. sheng-jie commented on Nov 12, 2025

    @sheng-jie

    After installing the .NET 10 SDK, the previous Polyglot Notebook execution reported an error.

    Error: System.IO.FileNotFoundException: Could not load file or assembly 'System.Text.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
    File name: 'System.Text.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
    at Microsoft.Extensions.AI.OpenAIChatClient.ToOpenAIOptions(ChatOptions options)
    at Microsoft.Extensions.AI.OpenAIChatClient.GetResponseAsync(IEnumerable`1 messages, ChatOptions options, CancellationToken cancellationToken)
    at Submission#7.<<Initialize>>d__0.MoveNext()
    --- End of stack trace from previous location ---
    at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.RunSubmissionsAsync[TResult](ImmutableArray`1 precedingExecutors, Func`2 currentExecutor, StrongBox`1 exceptionHolderOpt, Func`2 catchExceptionOpt, CancellationToken cancellationToken)
    
    
  2. sheng-jie commented on Nov 12, 2025

    @sheng-jie

    @jonsequitur Any plans for .NET 10 support? Thanks.

  3. CarpentierChristopheDev commented on Nov 13, 2025

    @CarpentierChristopheDev

    Hello,
    I am trying to learn .NET with C# 14 and .NET 10 – Modern Cross-Platform Development Fundamentals (10th edition).
    Your project is mentioned in the book. I am trying to create a Notebook with the latest version of vscode and the latest version of .net (10), but without success.
    Is there a specific configuration required to support .NET 10? Thanks

  4. oyundev commented on Nov 19, 2025

    @oyundev

    Unfortunately, dotnet interactive still requires .NET 9. Hopefully, it'll be updated to latest .NET version in (relatively) near future.

    1 - Install the dotnet interactive from commandline: C:>dotnet tool install -g Microsoft.dotnet-interactive
    2 - Install .NET 9 from here: https://dotnet.microsoft.com/en-us/download/dotnet/9.0
    3 - Install .NET Extension Pack from Microsoft into Visual Studio Code here: https://marketplace.visualstudio.com/items?itemName=ms-dotnettools.vscode-dotnet-pack

    You should be able to use C# in Jupyter Notebooks (and Polyglot .dib Notebooks) in VS Code.

    Image
  5. bartczernicki commented on Nov 22, 2025

    @bartczernicki

    Bump...pretty much can't use Interactive Notebooks without .NET 10 support.

  6. CarpentierChristopheDev commented on Nov 24, 2025

    @CarpentierChristopheDev

    Hi oyundev, Thanks for your response.
    I Hope you can upgrade your application in.NET 10 version without problems.
    good dev.

  7. bicijinlian commented on Nov 27, 2025

    @bicijinlian

    Microsoft Agent Framework

    Error: System.IO.FileNotFoundException: Could not load file or assembly 'System.Text.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. 系统找不到指定的文件。
    File name: 'System.Text.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
    at Submission#2.<>d__0.MoveNext()
    at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
    at Submission#2.()
    at Submission#2.(Object[] submissionArray)
    at Microsoft.CodeAnalysis.Scripting.ScriptExecutionState.RunSubmissionsAsync[TResult](ImmutableArray1 precedingExecutors, Func2 currentExecutor, StrongBox1 exceptionHolderOpt, Func2 catchExceptionOpt, CancellationToken cancellationToken)

    The key is not knowing how to roll back to. NET 9?

  8. sheng-jie commented on Nov 27, 2025

    @sheng-jie

    Currently, you can bypass this issue by using a specific NuGet version.

    #r "nuget: Microsoft.Agents.AI.OpenAI, 1.0.0-preview.251028.1"
    
    #r "nuget: Microsoft.Extensions.AI, 9.10.2"
    
    #r "nuget:  Microsoft.Extensions.AI.OpenAI, 9.10.1-preview.1.25521.4"
    
    
  9. arafattehsin commented on Nov 29, 2025

    @arafattehsin

    Currently, you can bypass this issue by using a specific NuGet version.

    #r "nuget: Microsoft.Agents.AI.OpenAI, 1.0.0-preview.251028.1"
    
    #r "nuget: Microsoft.Extensions.AI, 9.10.2"
    
    #r "nuget:  Microsoft.Extensions.AI.OpenAI, 9.10.1-preview.1.25521.4"
    

    If you're using some of the latest stuff, this workaround will not work. I think there's a dire need for the support of .NET 10

  10. sheng-jie commented on Dec 5, 2025

    @sheng-jie
  11. mikekistler commented on Dec 8, 2025

    @mikekistler

    I'll add my name to the list of folks hoping for .NET 10 support very soon. I want to use this with packages that were new in .NET 10 so I don't have a fallback.

  12. bicijinlian commented on Dec 13, 2025

    @bicijinlian

    这个功能什么时侯能发布?感觉这个项目的节奏明显慢了好多啊!离最后一次发布,已经相当长时间了(大半年了)。

    When can this feature be released? I feel like the pace of this project has slowed down significantly! It has been quite a long time since the last release (almost half a year).

  13. bartczernicki commented on Dec 19, 2025

    @bartczernicki

    Public release is available in the preview channel(s). In VSCode just make sure you are using the preview channel and have .NET 10 SDK installed. The .NET 10 libraries should now work.

  14. sheng-jie commented on Dec 22, 2025

    @sheng-jie

    Public release is available in the preview channel(s). In VSCode just make sure you are using the preview channel and have .NET 10 SDK installed. The .NET 10 libraries should now work.

    @bartczernicki , Unfortunately, the preview version is still not work. Below is the Polyglot Notebook: diagnostics.

    Extension started for VS Code Stable.
    tool-uninstall: Executing [dotnet tool uninstall Microsoft.dotnet-interactive] in 'c:\Users\shengjie\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode'.
    tool-uninstall: Finished with code 0.
    tool-uninstall: STDOUT:
    Tool 'microsoft.dotnet-interactive' was successfully uninstalled and removed from manifest file c:\Users\shengjie\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode\.config\dotnet-tools.json.
    tool-install: Executing [dotnet tool install --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json --ignore-failed-sources Microsoft.dotnet-interactive --version 1.0.661703] in 'c:\Users\shengjie\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode'.
    tool-install: Finished with code 0.
    tool-install: STDOUT:
    You can invoke the tool from this directory using the following commands: 'dotnet tool run dotnet-interactive' or 'dotnet dotnet-interactive'.
    Tool 'microsoft.dotnet-interactive' (version '1.0.661703') was successfully installed. Entry is added to the manifest file c:\Users\shengjie\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode\.config\dotnet-tools.json.
    Started process 11100: dotnet tool run dotnet-interactive -- notebook-parser
    Starting kernel for 'file:///e%3A/GitHub/Course/agent-course/dotnet/1.%20meai/01-meai-overview.ipynb' using: dotnet tool run dotnet-interactive -- [vscode] stdio --working-dir e:\GitHub\Course\agent-course\dotnet\1. meai
    Kernel for 'file:///e%3A/GitHub/Course/agent-course/dotnet/1.%20meai/01-meai-overview.ipynb' started (8072).
    kernel (8072) stderr: Unhandled exception: System.TypeInitializationException: The type initializer for 'Microsoft.DotNet.Interactive.PowerShell.PowerShellKernel' threw an exception.
     ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Management.Automation, Version=7.5.0.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
    File name: 'System.Management.Automation, Version=7.5.0.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
       at Microsoft.DotNet.Interactive.PowerShell.PowerShellKernel..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.DotNet.Interactive.PowerShell.PowerShellKernel..ctor() in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive.PowerShell\PowerShellKernel.cs:line 83
       at Microsoft.DotNet.Interactive.App.KernelBuilder.CreateKernel(String defaultKernelName, FrontendEnvironment frontendEnvironment, StartupOptions startupOptions, TelemetrySender telemetrySender) in D:\a\_work\1\s\src\dotnet-interactive\KernelBuilder.cs:line 54
       at Microsoft.DotNet.Interactive.App.CommandLine.CommandLineParser.<>c__DisplayClass5_0.<<Create>b__15>d.MoveNext() in D:\a\_work\1\s\src\dotnet-interactive\CommandLine\CommandLineParser.cs:line 335
    --- End of stack trace from previous location ---
       at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
    
    Kernel for 'file:///e%3A/GitHub/Course/agent-course/dotnet/1.%20meai/01-meai-overview.ipynb' ended (8072) with code 1.
    
  15. bartczernicki commented on Dec 23, 2025

    @bartczernicki

    Public release is available in the preview channel(s). In VSCode just make sure you are using the preview channel and have .NET 10 SDK installed. The .NET 10 libraries should now work.

    @bartczernicki , Unfortunately, the preview version is still not work. Below is the Polyglot Notebook: diagnostics.

    Extension started for VS Code Stable.
    tool-uninstall: Executing [dotnet tool uninstall Microsoft.dotnet-interactive] in 'c:\Users\shengjie\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode'.
    tool-uninstall: Finished with code 0.
    tool-uninstall: STDOUT:
    Tool 'microsoft.dotnet-interactive' was successfully uninstalled and removed from manifest file c:\Users\shengjie\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode\.config\dotnet-tools.json.
    tool-install: Executing [dotnet tool install --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json --ignore-failed-sources Microsoft.dotnet-interactive --version 1.0.661703] in 'c:\Users\shengjie\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode'.
    tool-install: Finished with code 0.
    tool-install: STDOUT:
    You can invoke the tool from this directory using the following commands: 'dotnet tool run dotnet-interactive' or 'dotnet dotnet-interactive'.
    Tool 'microsoft.dotnet-interactive' (version '1.0.661703') was successfully installed. Entry is added to the manifest file c:\Users\shengjie\AppData\Roaming\Code\User\globalStorage\ms-dotnettools.dotnet-interactive-vscode\.config\dotnet-tools.json.
    Started process 11100: dotnet tool run dotnet-interactive -- notebook-parser
    Starting kernel for 'file:///e%3A/GitHub/Course/agent-course/dotnet/1.%20meai/01-meai-overview.ipynb' using: dotnet tool run dotnet-interactive -- [vscode] stdio --working-dir e:\GitHub\Course\agent-course\dotnet\1. meai
    Kernel for 'file:///e%3A/GitHub/Course/agent-course/dotnet/1.%20meai/01-meai-overview.ipynb' started (8072).
    kernel (8072) stderr: Unhandled exception: System.TypeInitializationException: The type initializer for 'Microsoft.DotNet.Interactive.PowerShell.PowerShellKernel' threw an exception.
     ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Management.Automation, Version=7.5.0.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified.
    File name: 'System.Management.Automation, Version=7.5.0.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
       at Microsoft.DotNet.Interactive.PowerShell.PowerShellKernel..cctor()
       --- End of inner exception stack trace ---
       at Microsoft.DotNet.Interactive.PowerShell.PowerShellKernel..ctor() in D:\a\_work\1\s\src\Microsoft.DotNet.Interactive.PowerShell\PowerShellKernel.cs:line 83
       at Microsoft.DotNet.Interactive.App.KernelBuilder.CreateKernel(String defaultKernelName, FrontendEnvironment frontendEnvironment, StartupOptions startupOptions, TelemetrySender telemetrySender) in D:\a\_work\1\s\src\dotnet-interactive\KernelBuilder.cs:line 54
       at Microsoft.DotNet.Interactive.App.CommandLine.CommandLineParser.<>c__DisplayClass5_0.<<Create>b__15>d.MoveNext() in D:\a\_work\1\s\src\dotnet-interactive\CommandLine\CommandLineParser.cs:line 335
    --- End of stack trace from previous location ---
       at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
    
    Kernel for 'file:///e%3A/GitHub/Course/agent-course/dotnet/1.%20meai/01-meai-overview.ipynb' ended (8072) with code 1.
    

    The .NET Extensions, Identity, OpenAI worked for me so far, here is my package set up. If you can't run this notebook on your end, something is wrong with the environment:
    https://github.com/bartczernicki/DecisionIntelligence.GenAI.Workshop/blob/main/Notebooks/2a%20-%20Workshop%20(Setup)%20-%20Code%20Execution%20Requirements.ipynb

  16. 4 remaining items

  17. sheng-jie commented on Dec 24, 2025

    @sheng-jie

    @nczsl The roadmap is the same. Polyglot Notebooks uses this package. It pulls from this feed, which you can also use to get the latest versions of the tool to use in Jupyter: https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json.

    Only the release versions are published to nuget.org.

    @jonsequitur After installing the pre-release version, I created a blank ipynb/dib file, but it failed to run properly. Checking the diagnosis log, it shows the annoying exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Management.Automation, Version=7.5.0.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. The system cannot find the file specified..

    The "Could not load file" exception seems to occur in various versions, only with different assemblies each time. Before upgrading to the preview version, when using the MEAI.OpenAI package, it prompted that System.Text.Json, Version=10.0.0.0 could not be found. If you search for related issues, you’ll find many similar problems.

    My computer runs on Windows 11, and I’m encountering the same error when using the latest VS Code Insiders to install the pre-release version of Polyglot Notebook.

    Image
  18. mikekistler commented on Dec 24, 2025

    @mikekistler

    I am also successfully running the prerelease extension with .NET 10 support, and it even works in a GitHub codespace. You can give it a try yourself:

    https://github.com/mikekistler/AspNetCore.Notebook

    The notebook is web-api/jsonpatch/jsonpatch.ipynb. The first cell loads a .NET 10 nuget pacakge and it works as expected.

  19. sheng-jie commented on Dec 24, 2025

    @sheng-jie

    Okay, I'll try again. Merry Christmas!

  20. bicijinlian commented on Dec 26, 2025

    @bicijinlian

    I also tried it, and it was indeed running the. net version 10.01. Although I can only use. net 10.01, I don't know how to specify the. net version: for example, I want to use. net 9.I also tried it, and it was indeed running the. net version 10.01. Although I can only use. net 10.01, I don't know how to specify the. net version: for example, I want to use. net 9.

    我也试了,确实是运行了 .net 10.0.1 的版本。虽然,只能使用 .net 10.0.1,不知道怎么指定 .net 版本:比如想用 .net 9。

    Image

    Hope the official version is released soon.
    希望正式版,早日发布。

  21. sheng-jie commented on Dec 27, 2025

    @sheng-jie

    I cleared my local NuGet cache and that fixed the first problem. But now I'm getting a strange new error with System.Net.ServerSentEvents. It doesn't make sense.

    And I asked a few others to test it, and they got the same error.

    Image
  22. bicijinlian commented on Dec 27, 2025

    @bicijinlian

    这应该是 VS Code Insiders 的 Bug,我还发现了其它多处都有Bug,特别是在 Plogylot Notebooks 里。

    我在Visaul Studio 2022 -2026、 VS Code里试过,都没这种问题。 VS Code Insiders 里,报同样的错误。

    按下葫芦浮起瓢,等正式版吧,虽然不知道啥时间发布。

  23. sheng-jie commented on Dec 27, 2025

    @sheng-jie

    这应该是 VS Code Insiders 的 Bug,我还发现了其它多处都有Bug,特别是在 Plogylot Notebooks 里。 我在Visaul Studio 2022 -2026、 VS Code里试过,都没这种问题。 VS Code Insiders 里,报同样的错误。

    😔, I'm so close to giving up, may be dotnet run file is a good options.

  24. bicijinlian commented on Dec 27, 2025

    @bicijinlian

    😔, I'm so close to giving up, may be dotnet run file is a good options.

    慢慢等待吧。这个项目的节凑,明显放慢了。

    离上次发布已经快小一年啦,会放弃也说不定。

    这种连环错误,能把人搞崩溃。先用着其它方案吧。

    Image
  25. bicijinlian commented on Jan 6, 2026

    @bicijinlian

    我发现把 VS Code 的 Polyglot Notebooks 插件,“切换到预发布版本”。运行时,会使用 .net 10!

    I found that switching the Polyglot Notebooks plugin in VS Code to the preview version causes it to run with .NET 10!

    Image Image

    意外的发现:Polyglot Notebooks 插件的版本,对应该着调用的运行时的 .net 版本。
    切换运行时 .net 版本:安装(重新安装)相应版本的 Polyglot Notebooks 插件 。
    虽然这方法不优雅。

    Unexpected discovery: The version of the Polyglot Notebooks plugin corresponds to the. NET version of the runtime being called.
    Switch runtime. net version: Install (reinstall) the corresponding version of the Polyglot Notebooks plugin.
    Although this method is not elegant.

  26. bicijinlian commented on Jan 6, 2026

    @bicijinlian

    这应该是 VS Code Insiders 的 Bug,我还发现了其它多处都有 Bug,特别是在 Plogylot Notebooks 里。我在Visaul Studio 2022 -2026、 VS Code里试过,都没这种问题。VS Code Insiders 里,报同样的错误。

    😔 我快要放弃了,也许dotnet运行文件是个不错的选择。

    我清理了本地的NuGet缓存,解决了第一个问题。但现在我遇到了一个奇怪的新错误。这说不通。System.Net.ServerSentEvents

    我又让其他人测试,结果还是出了同样的错误。

    图片

    可以改为:引用 System.Net.ServerSentEvents.dll 方式实现

    Image
  27. sheng-jie commented on Jan 6, 2026

    @sheng-jie

    The latest pre-release version already supports .NET 10.

    我发现把 VS Code 的 Polyglot Notebooks 插件,“切换到预发布版本”。运行时,会使用 .net 10!

    I found that switching the Polyglot Notebooks plugin in VS Code to the preview version causes it to run with .NET 10!

    Image Image

    意外的发现:Polyglot Notebooks 插件的版本,对应该着调用的运行时的 .net 版本。
    切换运行时 .net 版本:安装(重新安装)相应版本的 Polyglot Notebooks 插件 。
    虽然这方法不优雅。

    Unexpected discovery: The version of the Polyglot Notebooks plugin corresponds to the. NET version of the runtime being called.
    Switch runtime. net version: Install (reinstall) the corresponding version of the Polyglot Notebooks plugin.
    Although this method is not elegant.

  28. skucher commented on Jan 16, 2026

    @skucher

    Could you please share the expected timeline for the production release of this item?
    Adding @jonsequitur (not sure you are the one to ask)

  29. oyundev commented on Jan 21, 2026

    @oyundev

    Microsoft.dotnet-interactive v1.0.707101 with .NET 10 support is released to nuget.

  30. jonsequitur commented on Jan 21, 2026

    @jonsequitur
    Contributor

    The non-prerelease version of Polyglot Notebooks is now available with .NET 10 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions