Skip to content

Retire .Core from the published package ID #99

Description

@matt-edmondson

TUI.Core.csproj publishes as ktsu.TUI.Core. It should publish as ktsu.TUI.

Whether a repo splits its library into a .Core project is an internal decision about whether it
also ships an executable. Because the package ID mirrors the project name, that decision is
published. Forty-odd single-library repos in the org publish under the bare family name, so
consumers write ktsu.Extensions and ktsu.Containers but ktsu.TUI.Core here.

This one is live on nuget.org, so it is genuinely breaking rather than free.

Current package ID ktsu.TUI.Core
Versions published 58, latest 1.0.47
Target ktsu.TUI

Convention

A repo's principal package is ktsu.<Family>, where <Family> is the repo name, the solution
filename, and the leading segment of every package in the repo. The project filename is the package
ID minus ktsu.. Assembly name and root namespace equal the package ID.

Change

  1. Rename TUI.Core to TUI (folder, .csproj, and the solution entry).
  2. Ship ktsu.TUI at the next major.
  3. Republish ktsu.TUI.Core once as a deprecated meta-package that depends on ktsu.TUI, so pinned
    consumers get a working upgrade path rather than a dead ID.

Also in this repo, and free

TUI.CLI should be TUI.Cli. The convention uses PascalCase segments throughout, so an
all-caps CLI is the outlier. ktsu.TUI.CLI is not on nuget.org (the project is OutputType=Exe,
so ktsu.Sdk leaves it unpackable), so this rename costs nothing. TUI.App already matches.

If not now

Defer indefinitely if consumer churn outweighs the consistency. Nothing else in the audit depends
on this step. The rest of the naming work in this repo is free and can land without it.


Part of the estate-wide naming audit tracked in ktsu-dev/Sdk#36.

Activity

  1. matt-edmondson commented on Sep 8, 2026

    @matt-edmondson
    ContributorAuthor

    Triage

    Priority: Medium Effort: Small

    What needs to be done: Rename TUI.Core → TUI (folder/csproj/solution), ship ktsu.TUI at the next major, and republish ktsu.TUI.Core once as a deprecated meta-package pointing at it. The free TUI.CLI → TUI.Cli casing fix can land independently.

    Suggested next steps / acceptance criteria:

    • Rename project/folder/solution entry; verify package ID becomes ktsu.TUI
    • Bump major version to signal the break; publish deprecated ktsu.TUI.Core meta-package depending on ktsu.TUI
    • Land the free TUI.CLI → TUI.Cli rename alongside (no nuget impact); TUI.App already matches

    Blockers / dependencies: Part of the estate-wide naming epic ktsu-dev/Sdk#36. Sibling issues — Coder#6, Keybinding#72, UndoRedo#48, SvnToGit#66 — are the identical mechanical change; likely worth batching once the org-wide convention in Sdk#36 is settled rather than doing one repo at a time.


    Generated by Claude Code

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions