AvaloniaAppUsingHost.Template 4.1.0

dotnet new install AvaloniaAppUsingHost.Template@4.1.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

Avalonia App Using Host

This will spin up an Avalonia app using Microsoft.Hosting to set up the App and dependency injection

Requirements

  • .NET 11 SDK for net11.0 (the default), or .NET 10 SDK for net10.0.
  • The corresponding .NET runtime is required to run a framework-dependent application.

Install

dotnet new install AvaloniaAppUsingHost.Template

Run

dotnet new avalonia-host -n NameOfApp

Choose a framework explicitly:

dotnet new avalonia-host -n MyNet10App --Framework net10.0
dotnet new avalonia-host -n MyNet11App --Framework net11.0

Both choices generate a single-target application and a .slnx solution. Hosting uses version 10.0.15 for .NET 10 and 11.0.0 for .NET 11; other dependency versions are shared.

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
4.1.0 60 11/13/2026
4.0.0 340 8/22/2026
3.3.0 371 6/30/2026
3.2.0 355 5/1/2026
3.2.0-rc-01 365 4/29/2026
3.1.0 369 4/16/2026
3.0.0 378 4/8/2026
2.1.0.1 422 3/10/2026
2.1.0 413 3/10/2026

- Added a Framework option for .NET 10 (default) and .NET 11, with matching Microsoft.Extensions.Hosting versions.
     - Fixed the template primary output to reference the generated .slnx solution.