releasing-wpfdevpackmcplisted
Install: claude install-skill christian289/dotnet-with-claudecode
# Releasing WpfDevPackMcp (NuGet MCP server)
Owner-only release tool for the **WpfDevPackMcp** NuGet package (the MCP server
under `mcp/`). Its version is independent of the wpf-dev-pack **plugin** version
(`/wpf-dev-pack-release`) and of **knowledge** content (served live, never versioned).
## Essential (Post-Compact)
These rules MUST survive context compression. If prior context is lost, re-read this.
1. A WpfDevPackMcp release bumps **4 version strings across 3 files**, all to the SAME value:
- `mcp/WpfDevPackMcp.csproj` → `<Version>`
- `wpf-dev-pack/.mcp.json` → the dnx pin `WpfDevPackMcp@<ver>`
- `mcp/.mcp/server.json` → top-level `"version"`
- `mcp/.mcp/server.json` → `packages[0].version`
2. **Order matters**: bump csproj + server.json BEFORE `dotnet pack`; update the
`.mcp.json` pin ONLY AFTER the new version is live on nuget.org (the plugin keeps
running on the old pin until the new one is available).
3. **Do NOT bump** for: edits under `knowledge/` (served live — just `git push`) or
plugin-only changes (skills/hooks/rules → `/wpf-dev-pack-release`).
4. NuGet versions are immutable — never reuse a number; always increase.
5. In `server.json`, the nuget `registryBaseUrl` MUST be
`https://api.nuget.org/v3/index.json` (the bare `https://api.nuget.org` fails
Official MCP Registry validation with HTTP 400).
## Arguments
- `$0` = target version (e.g. `0.1.4`). If omitted, increment the **patch** of the
current `<Version>` in `mcp/WpfDevPa