Skip to content

update to TG 2.5.x - #272

Open
tig wants to merge 1 commit into
developfrom
feat/update-tg-2.5.x
Open

update to TG 2.5.x#272
tig wants to merge 1 commit into
developfrom
feat/update-tg-2.5.x

Conversation

@tig

@tig tig commented Aug 22, 2026

Copy link
Copy Markdown
Owner

Update wp to Terminal.Gui 2.5.0 once that version is on nuget.org.

TG 2.5.0 deletes ConfigurationManager / ConfigLocations (tui-cs/Terminal.Gui#5416). wp was still calling ConfigurationManager.Enable(ConfigLocations.All). This PR migrates that call and bumps the package; merge after 2.5.x publishes.

Changes

  • Terminal.Gui 2.4.172.5.0
  • Replace ConfigurationManager.Enable with new TuiConfigurationBuilder("wp").ApplyToStaticFacades()
  • Document nested MEC config JSON (TUI_CONFIG, Application.ForceDriverApplication: { ForceDriver })

Test plan

Verified locally against the 2.5.0 PR 5416 build (2.5.0-tig-remove-cm-followup.1):

  • dotnet build src/WinPrint.TUI/WinPrint.TUI.csproj -f net10.0
  • dotnet test tests/WinPrint.TUI.UnitTests — 78 passed
  • dotnet test tests/WinPrint.TUI.UITests — 73 passed
  • dotnet test tests/WinPrint.Core.UnitTests — 385 passed, 2 skipped

CI restore will fail until 2.5.0 is on nuget.org.

Migrate off ConfigurationManager (removed in TG 2.5) to
TuiConfigurationBuilder, and bump the Terminal.Gui package to 2.5.0.
Merge after 2.5.x is on nuget.org.
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