Skip to content

Getting Started

Prerequisites

  • .NET SDK 10 or 11 (see template Framework symbol). The net11.0 mobile targets are unverified: only preview workloads were available when the wave ran (see ADR-0102)
  • 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 net10.0 or net11.0 (default) when instantiating to match your installed SDK (see Parameters).

Next steps