When can we follow up with .NET 10?
The official version of .NET 10 has been released, so please update it as soon as possible.
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)
@jonsequitur Any plans for .NET 10 support? Thanks.
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
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.
Bump...pretty much can't use Interactive Notebooks without .NET 10 support.
Hi oyundev, Thanks for your response. I Hope you can upgrade your application in.NET 10 version without problems. good dev.
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?
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"
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
#4093
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.
这个功能什么时侯能发布?感觉这个项目的节奏明显慢了好多啊!离最后一次发布,已经相当长时间了(大半年了)。
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).