Remove SkipRestore parameter

This commit is contained in:
2026-08-27 00:26:47 +02:00
parent 8d0b8895dc
commit 437bb55f33
3 changed files with 5 additions and 17 deletions
+5 -5
View File
@@ -14,7 +14,7 @@ are ordinary project files at that point, not template scaffolding.
`.template.config/template.json` sets this folder's name as the template's
`sourceName` and defines one text-replacement `symbol`, `PluginAuthor` (plus
`skipRestore` and `SkipGit`, which only toggle post-generation actions and replace no
`SkipGit`, which only toggles the git-reminder post-generation action and replaces no
text). The dotnet templating engine does a literal, repo-wide **string replacement**
at generation time — not semantic renaming — driven by that config:
@@ -51,10 +51,10 @@ Consequences:
printed reminder and not an executed command.
- `.template.config/ide.host.json` — Visual Studio-only UI hints for the New Project
wizard. It does **not** rename any symbol (the CLI flags stay `PluginAuthor`/
`skipRestore`/`SkipGit` — a flag can't contain a space); it only maps each symbol's
`id` to a human-readable `name.text` label (e.g. `SkipGit` → "Skip Git") shown in
VS's UI, via `isVisible: "true"` per entry (VS hides a symbol from that UI unless
explicitly marked visible here). Ignored entirely by `dotnet new` on the CLI.
`SkipGit` — a flag can't contain a space); it only maps each symbol's `id` to a
human-readable `name.text` label (e.g. `SkipGit` → "Skip Git") shown in VS's UI, via
`isVisible: "true"` per entry (VS hides a symbol from that UI unless explicitly
marked visible here). Ignored entirely by `dotnet new` on the CLI.
- The `.csproj` at the repo root — the project file every generated plugin ships with.
- `EntryPoint.cs` / `Config.cs` — the scaffolded plugin (`Plugin<Config>`) and its
YAML-backed settings class.