Skip to content

Getting Started

Prerequisites

  • .NET SDK 9 or 10 (see template Framework symbol)
  • MAUI workload: dotnet workload install maui
  • Android SDK and/or Xcode (macOS) for device targets
  • Optional: Visual Studio or Rider with MAUI workload

Install the template

From a clone of the repository:

cd ConnectSoft.MauiBaseTemplate
dotnet new install .

Verify:

dotnet new list connectsoft-maui-base

Generate a solution

dotnet new connectsoft-maui-base --service-name MyApp -o ./MyApp

The template runs dotnet restore and dotnet workload restore by default unless you pass --no-restore.

Build and test

cd MyApp
dotnet restore
dotnet build
dotnet test

Use --framework net9.0 or net10.0 when instantiating to match your installed SDK (see Parameters).

Next steps