Skip to content

build(deps): upgrade runtime to .NET 11 and AtomUI to 6.3.0 - #8

Merged
xiaochengzjc merged 1 commit into
AtomUICommunity:masterfrom
heartacker:build/net11-atomui63
Nov 29, 2026
Merged

xiaochengzjc merged 1 commit into
AtomUICommunity:masterfrom
heartacker:build/net11-atomui63

Conversation

@heartacker

Copy link
Copy Markdown
Contributor

Summary

Upgrade the runtime to .NET 11 and UI stack to AtomUI 6.3.0 / Avalonia 12.2.0, removing legacy full-screen title bar workarounds and updating dependencies, CI workflows, and documentation accordingly.

Key Changes

  • Runtime & Packages: Upgrade TargetFramework from net10.0 to net11.0 across CxShell, CxShell.Tests, VelaShell.XServer, and RdpSmokeTest; update Avalonia (12.2.0 + Avalonia.Wayland), AtomUI (6.3.0), Microsoft.Data.Sqlite, System.IO.Ports, FluentFTP, SSH.NET, Velopack, LiveMarkdown.Avalonia, and test SDK packages.
  • AtomUI 6.3.0 Full-Screen Adaptation: Set FullScreenTitleBarMode=Hidden on windows hosting FullScreenConnectionBar (MainWindow, DetachedTabWindow, RdpMonitorWindow) and remove ~300+ lines of obsolete AtomUI 6.2 full-screen chrome workarounds.
  • CI & Docs: Update GitHub Actions workflows (.NET 11.0.x, vpk 1.2.161), package-macos-velopack.sh, README, AGENTS.md, and website/index.html.

Included Commits

  • build(deps): 升级运行时至 .NET 11 并同步更新依赖、CI 与文档

- 修改了 CxShell.csproj 目标框架 net10.0 → net11.0,并升级核心依赖以适配 .NET 11
- 更新了测试与第三方项目(CxShell.Tests、VelaShell.XServer、RdpSmokeTest)的目标框架至 net11.0
- 调整了 CI/发布工作流的 .NET SDK 与 Velopack(vpk) 工具版本,保持构建环境一致
- 同步更新了 README、AGENTS.md 与官网页面中的运行时版本描述

详细方案

- 修改 CxShell.csproj:TargetFramework 由 net10.0 改为 net11.0
- 升级 CxShell.csproj 依赖:Avalonia.Desktop/Themes.Fluent 12.1.6→12.2.0,新增 Avalonia.Wayland 12.2.0;LiveMarkdown.Avalonia 2.4.0→2.7.0;FluentFTP 54.2.0→55.1.0;Microsoft.Data.Sqlite 10.0.9→11.0.0;ReactiveUI.Avalonia 12.1.1→12.1.9;SSH.NET 2026.0.0→2026.0.1;CommunityToolkit.Mvvm 8.4.0→8.4.2;System.IO.Ports 10.0.9→11.0.0;TextMateSharp.Grammars 2.0.4→2.0.5;Velopack 1.2.0→1.2.161;移除 Microsoft.Extensions.Logging.Abstractions
- 修改 CxShell.Tests.csproj:TargetFramework 改为 net11.0;升级 Microsoft.NET.Test.Sdk 17.12.0→18.12.0、xunit.runner.visualstudio 2.8.2→4.0.1,并同步升级 Microsoft.Data.Sqlite、LiveMarkdown.Avalonia、Avalonia 相关包
- 修改 ThirdParty/VelaShell.XServer.csproj:TargetFramework 由 net10.0 改为 net11.0
- 修改 tools/RdpSmokeTest/RdpSmokeTest.csproj:TargetFramework 由 net10.0 改为 net11.0
- 更新 .github/workflows/ci.yml 与 macos-package.yml:dotnet-version 由 10.0.x 改为 11.0.x
- 更新 .github/workflows/release.yml:DOTNET_VERSION 改为 11.0.x,vpk 工具版本 1.2.0→1.2.161,RDP 冒烟测试输出目录 net10.0→net11.0
- 更新 tools/package-macos-velopack.sh:默认 VELOPACK_VERSION 由 1.2.0 改为 1.2.161
- 更新 README.md、README.zh-CN.md:运行时与 SDK 要求由 .NET 10 改为 .NET 11
- 更新 AGENTS.md:项目描述中的目标运行时由 .NET 10 改为 .NET 11
- 更新 website/index.html:首页技术栈展示由 .NET 10 改为 .NET 11
@xiaochengzjc
xiaochengzjc merged commit 02a6bf6 into AtomUICommunity:master Nov 29, 2026
1 check passed
xiaochengzjc pushed a commit that referenced this pull request Nov 29, 2026
PR #8 already removed Views/RdpWorkspaceWindow.axaml earlier in the
window-chrome work, so the two passages that list it as a host of
FullScreenConnectionBar now point at a file that does not exist.
@xiaochengzjc

Copy link
Copy Markdown
Collaborator

Merged into master and released as v0.2.0.

  • 02a6bf6 — merge of 5909ab3. Applied without conflict.
  • 8cbfd59 — drops two stale Views/RdpWorkspaceWindow.axaml mentions from AGENTS.md. That file was already deleted in the earlier window-chrome work, so the two passages listing it as a FullScreenConnectionBar host pointed at something that does not exist. Everything else in the commit was taken as-is.
  • Tag v0.2.0 → Release Packages run 46222061542.

Verification before merging: dotnet build -c Release on .NET 11.0.100 gives 0 warnings / 0 errors. Test suite is 763/767 — the same 4 persistence tests fail on master without this change, because they need a writable profile directory the build sandbox does not hand out. I also launched the Release build against the .NET 11 runtime: the window comes up, AtomUI 6.3.0's WindowChromeLayer lays out the title-bar toolbar correctly (left group 590x25, menu 520 wide, right group 173x32), and a 34 minute session exited cleanly with no leftover process.lock.

Two things deliberately left out of this merge:

  • Views/RdpMonitorWindow.axaml.cs folds WindowState.FullScreen back to Normal while AGENTS.md separately requires FullScreenTitleBarMode="Hidden" on the same window. Both guard the same behaviour and only one is needed; the declarative one is the better keeper, but removing the code path touches the borderless and multi-monitor geometry, so it wants its own PR rather than riding along with a dependency bump.
  • The full-screen top bar needs a visual check on real hardware. Nothing in the logs can confirm or deny it.

Thanks for keeping this to a single focused commit — the .NET 11 and AtomUI 6.3.0 moves landing together made the window-state cleanup easy to review.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants