This folder contains samples that demonstrate features specific to .NET MAUI 11 (currently in preview). For the full set of .NET MAUI samples, see the 10.0/ folder.
.NET 10+ supports sdk.paths in global.json, which lets you install a preview SDK into a project-local folder without modifying your system-wide installation.
# 1. Install the preview SDK locally (does NOT modify your system PATH)
./dotnet-install.sh --version 11.0.100-preview.3.26207.106 --install-dir ./.dotnet
# 2. The global.json in this folder already has sdk.paths configured:
cat global.jsonThe global.json in this folder uses sdk.paths to point to a local .dotnet/ directory:
{
"sdk": {
"version": "11.0.100-preview.3.26207.106",
"paths": [".dotnet"]
}
}This means:
- Your system-wide
dotnethost (must be .NET 10+) reads this file - It finds the preview SDK in
./.dotnet/and uses it for this project only - No other projects on your machine are affected
- To undo: just delete the
.dotnet/folder
Like the 10.0/ folder, this folder uses a Directory.Build.props to manage NuGet versions centrally. See 10.0/PACKAGE-VERSIONS.md for details.