Skip to content

Restore .NET 10 solution build - #39

Closed
xincheng213618 wants to merge 1 commit into
DebugST:mainfrom
xincheng213618:codex/restore-main-build
Closed

Restore .NET 10 solution build#39
xincheng213618 wants to merge 1 commit into
DebugST:mainfrom
xincheng213618:codex/restore-main-build

Conversation

@xincheng213618

Copy link
Copy Markdown
Contributor

What changed

  • repair the malformed RenderEditorToCanvasLegacy method left by the recent Skia merge
  • keep the selection rectangle calculation in RectangleF
  • align WpfNodeEdittorDemo with the net10.0-windows library target
  • suppress the new WFO1000 designer serialization diagnostic for the legacy WinForms controls

Why

The current main branch cannot restore or compile: the WPF demo targets .NET 8 while the library targets .NET 10, and STNodeEditor.cs contains merge residue that produces syntax errors. Once those are fixed, the .NET 10 WinForms analyzer reports WFO1000 as build errors for the legacy designer-facing properties.

Validation

  • dotnet build .\WinNodeEditorTest.sln -c Debug --no-restore -v:q
  • result: 0 errors, 266 existing warnings

This PR intentionally restores the existing WinForms/WPF-host baseline only. The native WPF implementation will be proposed separately so it does not obscure this repair.

@xincheng213618

Copy link
Copy Markdown
Contributor Author

已将这组基线构建修复合并到 #40 的同一分支中,后续只保留 #40 作为统一的原生 WPF PR,避免维护者需要合并两次。

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.

1 participant