Skip to content

komarovalexander/avalonia-dotnet-templates

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avalonia Templates for dotnet new

For more information about dotnet new templates see here.

Installing the templates

Clone this repository and run:

dotnet new --install [path-to-repository]

The templates should now be available in dotnet:

Templates                   Short Name        Language      Tags
--------------------------------------------------------------------------
Console Application         console           [C#], F#      Common/Console
Class library               classlib          [C#], F#      Common/Library
Unit Test Project           mstest            [C#], F#      Test/MSTest
xUnit Test Project          xunit             [C#], F#      Test/xUnit
ASP.NET Core Empty          web               [C#]          Web/Empty
ASP.NET Core Web App        mvc               [C#], F#      Web/MVC
ASP.NET Core Web API        webapi            [C#]          Web/WebAPI
Avalonia .NET Core App      avalonia.app      [C#]          ui/xaml
Solution File               sln                             Solution

Creating a new Application

To create a new application called MyApp in its own subdirectory, run:

dotnet new avalonia.app -o MyApp

Creating a new Window

To create a new application called MyNewWindow, in the namespace MyApp run:

dotnet new avalonia.window -na MyApp -n MyNewWindow

About

Avalonia Templates for `dotnet new`

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%