chore: bump to .NET 10#3116
Conversation
审阅者指南(在小型 PR 上折叠)审阅者指南.NET 运行时和文档引用已从 .NET 8 更新为 .NET 10,包括面向用户的错误消息、README 要求表,以及项目配置文件,以使整个解决方案与 .NET 10 保持一致。 .NET 10 运行时错误处理更新的时序图sequenceDiagram
actor User
participant App as Application
participant ModBase
participant LogWrapper
User->>App: Run application
App->>App: Application_DispatcherUnhandledException
App->>ModBase: OpenWebsite(https_get_dot_net_10)
App->>LogWrapper: Error(Exception, Your_NET_Desktop_Runtime_is_outdated_or_corrupted_Please_reinstall_NET_10)
文件级更改
技巧与命令与 Sourcery 交互
自定义你的使用体验访问你的 控制面板 以:
获取帮助Original review guide in EnglishReviewer's guide (collapsed on small PRs)Reviewer's Guide.NET runtime and documentation references have been updated from .NET 8 to .NET 10, including user-facing error messaging, README requirements tables, and project configuration files to align the solution with .NET 10. Sequence diagram for .NET 10 runtime error handling updatesequenceDiagram
actor User
participant App as Application
participant ModBase
participant LogWrapper
User->>App: Run application
App->>App: Application_DispatcherUnhandledException
App->>ModBase: OpenWebsite(https_get_dot_net_10)
App->>LogWrapper: Error(Exception, Your_NET_Desktop_Runtime_is_outdated_or_corrupted_Please_reinstall_NET_10)
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 74d55f8b24
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 83c089150a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 13e792f82c
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8a2c1dc550
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| <PropertyGroup> | ||
| <Nullable>enable</Nullable> | ||
| <TargetFramework>net8.0-windows</TargetFramework> | ||
| <TargetFramework>net10.0-windows</TargetFramework> |
There was a problem hiding this comment.
Don't ship the net10 build through the old updater
Fresh evidence in this revision is that the new guard now checks for .NET 10, but that code only runs after a user has already installed a build containing it. Existing installed .NET 8 builds still execute their older BtnUpdate_Click guard, which only accepted Microsoft.WindowsDesktop.App 8.0., and UpdateRestart immediately starts the downloaded framework-dependent exe as the updater; on machines without the .NET 10 desktop runtime, an in-app update to this net10.0-windows artifact can therefore replace/start a binary that cannot launch before it can show the new prompt. Please add a transition path that old clients can enforce, such as update metadata/channel blocking, an external bootstrapper, or a self-contained transition build.
Useful? React with 👍 / 👎.
| @@ -151,14 +151,14 @@ private void BtnUpdate_Click(object sender, MouseButtonEventArgs e) | |||
| // 检查 .NET 版本 | |||
| if (!updateInfo.VersionName.StartsWithF("2.13.") && !ModBase | |||
There was a problem hiding this comment.
这个等会再改,因为还没确定到底那个版本才会上 .NET10
|
我觉得可以考虑把官方支持提高到 19041 了,17763 真有人用吗 |
你可别忘了 17763 很大程度上是为你留的 :/ |
现在没 1703 了.jpg |
先放在这里😋
Summary by Sourcery
更新运行时要求和文档,使其面向 .NET 10。
增强内容:
Original summary in English
Summary by Sourcery
Update runtime requirements and documentation to target .NET 10.
Enhancements: