Parameters¶
Reference for dotnet new connectsoft-aiskills-library. Authoritative symbols live in .template.config/template.json (this template has no dotnetcli.host.json; CLI names derive from symbol names).
Template-specific parameters¶
| Parameter | Type | Default | Effect |
|---|---|---|---|
Framework |
choice (net8.0/net9.0/net10.0) |
net10.0 |
Switches <TargetFrameworks> to a single TFM via the TargetFrameworkOverride generated symbol |
targetFrameworks |
string | net8.0;net9.0;net10.0 |
Display value; multi-targeting unless --Framework overrides |
useDI |
bool | true |
When false, excludes Extensions/** and DIRegistrationTests.cs |
useOptions |
bool | true |
When false, excludes Options/** and *Options* |
useLogging |
bool | true |
Symbol present but currently has no source modifier |
useMetrics |
bool | true |
When false, excludes telemetry/metrics files |
buildDefinitionNumber |
string | 1.0.0 |
CI/version placeholder |
SkipRestore |
bool | false |
Skip post-instantiation restore |
Examples¶
# Single-target net10.0, no DI extensions
dotnet new connectsoft-aiskills-library -n Acme.Risk.Scoring.Skills --Framework net10.0 --useDI false
# Default multi-target (net8/net9/net10)
dotnet new connectsoft-aiskills-library -n Acme.Risk.Scoring.Skills
dotnet new connectsoft-aiskills-library -h