LNS.AI.Templates 1.0.0-rc.1

This is a prerelease version of LNS.AI.Templates.
dotnet new install LNS.AI.Templates@1.0.0-rc.1
                    
This package contains a .NET Template Package you can call from the shell/command line.

LNS.AI dotnet new Templates

Local template pack for generating LNS.AI applications and provider scaffolds.

Install (local development)

From the repository root:

./tools/templates/install-local.ps1
dotnet new list lns-

Or install a single template:

dotnet new install ./tools/templates/content/lns-console --force

Create a project

dotnet new lns-console -n MyAgentApp -o ./MyAgentApp
cd MyAgentApp
dotnet run

Available short names: lns-console, lns-worker, lns-web, lns-chat, lns-rag, lns-tools, lns-workflow, lns-multiagent, lns-module, lns-provider.

Smoke build (repo)

Templates use ProjectReference to src/LNS.AI.* for in-repo validation. After editing template content:

# Install templates
./tools/templates/install-local.ps1

# Generate and build each host template into a temp folder
$tmp = Join-Path $env:TEMP "lns-template-smoke"
New-Item -ItemType Directory -Force -Path $tmp | Out-Null
Push-Location $tmp
try {
    foreach ($t in @("lns-console","lns-worker","lns-web","lns-chat","lns-rag","lns-tools","lns-workflow","lns-multiagent","lns-module")) {
        $dir = "smoke-$t"
        dotnet new $t -n SmokeTest -o $dir --force
        dotnet build (Join-Path $dir "*.csproj")
    }
    dotnet new lns-provider -n SmokeProvider -o smoke-lns-provider --force
    dotnet build (Join-Path "smoke-lns-provider" "*.csproj")
    dotnet test (Join-Path "smoke-lns-provider" "SampleProvider.Tests" "SampleProvider.Tests.csproj") --no-build
}
finally {
    Pop-Location
}

Pack for NuGet

dotnet pack ./tools/templates/LNS.AI.Templates.csproj -c Release
dotnet new install ./artifacts/packages/LNS.AI.Templates.*.nupkg --force

NuGet-shipped templates should replace ProjectReference with PackageReference before publishing.

Layout

Path Purpose
content/ Template source (template.json, projects, README)
LNS.AI.Templates.csproj Template NuGet pack project
install-local.ps1 Installs all content/* templates

See documentation/templates/INDEX.md for the full template catalog.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0-rc.1 152 7/21/2026
1.0.0-preview.1 137 7/17/2026