interactive icon indicating copy to clipboard operation
interactive copied to clipboard

When can we follow up with .NET 10?

Open nczsl opened this issue 1 month ago • 11 comments

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

nczsl avatar Nov 11 '25 15:11 nczsl

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)

sheng-jie avatar Nov 12 '25 09:11 sheng-jie

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

sheng-jie avatar Nov 12 '25 09:11 sheng-jie

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

CarpentierChristopheDev avatar Nov 13 '25 21:11 CarpentierChristopheDev

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

oyundev avatar Nov 19 '25 19:11 oyundev

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

bartczernicki avatar Nov 22 '25 20:11 bartczernicki

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

CarpentierChristopheDev avatar Nov 24 '25 12:11 CarpentierChristopheDev

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.<<Initialize>>d__0.MoveNext() at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine) at Submission#2.<Initialize>() at Submission#2.<Factory>(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?

bicijinlian avatar Nov 27 '25 10:11 bicijinlian

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"

sheng-jie avatar Nov 27 '25 23:11 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"

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

arafattehsin avatar Nov 29 '25 00:11 arafattehsin

#4093

sheng-jie avatar Dec 05 '25 23:12 sheng-jie

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.

mikekistler avatar Dec 08 '25 17:12 mikekistler

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

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).

bicijinlian avatar Dec 13 '25 19:12 bicijinlian