Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/suesslabs/prism.avalonia.templates

The official Prism Avalonia Templates for Visual Studio using the Avalonia and Prism Library frameworks by Suess Labs
https://github.com/suesslabs/prism.avalonia.templates

avalonia dotnet dotnet-template prism prism-avalonia suesslabs template xeno-innovations

Last synced: 2 months ago
JSON representation

The official Prism Avalonia Templates for Visual Studio using the Avalonia and Prism Library frameworks by Suess Labs

Awesome Lists containing this project

README

        

# Prism.Avalonia Templates for `dotnet new`

[![Current stable version](https://img.shields.io/nuget/v/Templates.Prism.Avalonia.svg)](https://www.nuget.org/packages/Templates.Prism.Avalonia/)

The [Prism.Avalonia Templates](https://github.com/SuessLabs/Prism.Avalonia.Templates/pull/4) is a collection of `dotnet` template files for creating [Prism.Avalonia](https://github.com/AvaloniaCommunity/Prism.Avalonia) apps.

For more information about `dotnet new` templates see [here](https://blogs.msdn.microsoft.com/dotnet/2017/04/02/how-to-create-your-own-templates-for-dotnet-new/).

> ## Announcement
>
> _[Prism.Avalonia](https://github.com/AvaloniaCommunity/Prism.Avalonia) is officially moving to [Prism Library](https://github.com/PrismLibrary/Prism)!_ :heart:

## Installing Templates

Run from a command line:

```powershell
dotnet new install Templates.Prism.Avalonia

# Install
dotnet new prism.avalonia.app MySuperAwesomeApp
```

The templates are now be available in `dotnet new list`:

### Project Templates

```txt
Template Name Short Name Language Tags
------------------------------------ -------------------------- -------- -----------------------------------------------------
Prism.Avalonia .NET - Empty App prism.avalonia.app [C#] Desktop/Xaml/Axaml/Avalonia/Prism/Windows/Linux/macOS
Prism.Avalonia .NET - Sample Dialog App prism.avalonia.app.dialog [C#] Desktop/Xaml/Axaml/Avalonia/Prism/Windows/Linux/macOS
Prism.Avalonia .NET - Sample Full SideBar App prism.avalonia.app.full [C#] Desktop/Xaml/Axaml/Avalonia/Prism/Windows/Linux/macOS
```

### Item Templates

```txt
Template Name Short Name Language Tags
------------------------------------ -------------------------- -------- -----------------------------------------------------
Prism Avalonia Event prism.avalonia.event [C#] Desktop/Xaml/Axaml/Avalonia/Prism/Windows/Linux/macOS
Prism Avalonia UserControl prism.avalonia.usercontrol [C#] Desktop/Xaml/Axaml/Avalonia/Prism/Windows/Linux/macOS
Prism Avalonia ViewModel prism.avalonia.viewmodel [C#] Desktop/Xaml/Axaml/Avalonia/Prism/Windows/Linux/macOS
Prism Avalonia Window prism.avalonia.window [C#] Desktop/Xaml/Axaml/Avalonia/Prism/Windows/Linux/macOS
```

## Contributing

* [Contributing](.github/Contributing.md)
* [Code-of-Conduct](.github/Code-of-Conduct.md)
* [Security Policy](.github/Security.md)

### Local Test and Build

```powershell
.\install-dev-templates.ps1
.\tests\build-test.ps1
```

## References

* Templates based on [Avalonia .NET Templates](https://github.com/AvaloniaUI/avalonia-dotnet-templates)

Sponsored by: Suess Labs, Inc.
- _skunkworks of Xeno Innovations_