Aspire.ProjectTemplates 13.6.0

Prefix Reserved
dotnet new install Aspire.ProjectTemplates@13.6.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

Aspire Templates

Templates are located at [repo_root]/src/Aspire.ProjectTemplates/. The Aspire.ProjectTemplates.csproj file builds the template package. The template content is in the templates sub-directory, with each sub-directory beneath that representing a separate project template.

Update instructions

Instructions to update the project templates for a new Aspire version.

Updating template content

Each template contains content that has placeholders for many of the versions represented that get replaced by the build. Note that some dependency versions are still static.

For each template:

  1. Updating the versions for non-Aspire packages referenced in all .csproj files isn't covered as part of this process. These package versions should be updated by our regular process for updating the versions of our dependencies.

Updating localization files

Build the templates package project to ensure localization files are updated to match all changes by running dotnet pack on the ./src/Aspire.ProjectTemplates/Aspire.ProjectTemplates.csproj project, e.g.:

dotnet pack ./src/Aspire.ProjectTemplates/Aspire.ProjectTemplates.csproj

Updating tests

Template tests can be run using the standard test commands. You can follow the directions in [repo_root]/tests/Aspire.Templates.Tests/README.md to run them locally if desired, or simply send a PR and observe the test output there.

Running generated test projects

MSTest and xUnit v3mtp templates produce Microsoft.Testing.Platform (MTP) executables. Run these tests with dotnet run from the generated test project directory. This works across the supported SDK versions without changing the containing solution's test runner.

With .NET 10 SDK or later, using dotnet test for MTP 2 projects instead requires opting into the native MTP runner in the solution's global.json. The legacy VSTest entry point is no longer supported for these projects. See MTP integration with dotnet test.

The NUnit and xUnit VSTest template variants continue to use dotnet test.

  • net8.0

    • 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
13.6.0 700,892 9/29/2026
13.5.4 1,956,086 9/15/2026
13.5.3 2,293,679 8/25/2026
13.5.2 563,436 8/21/2026
13.5.1 97,082 8/20/2026
13.5.0 317,686 8/18/2026
13.4.6 1,390,024 6/19/2026
13.4.5 25,780 6/17/2026
13.4.4 6,361 6/15/2026
13.4.3 4,451 6/8/2026
13.4.2 4,330 6/3/2026
13.4.1 1,328 6/3/2026
13.4.0 3,108 6/1/2026
13.3.5 9,257 5/21/2026
13.3.4 1,182 5/19/2026
13.3.3 3,030 5/15/2026
13.3.2 1,479 5/14/2026
13.3.1 1,500 5/12/2026
13.3.0 3,595 5/7/2026
13.2.4 6,858 4/24/2026
Loading failed