| MAUI-Nuget-Coommunity-Toolkit | MAUI Introduction | |
MAUI Check Tool |
The MAUI Check Tool (maui-check) is a command-line utility designed to diagnose and fix common issues in your .NET MAUI development environment. It scans your system for required SDKs, tools, and dependencies to ensure you can build and run MAUI applications successfully.
| Command | Purpose |
|---|---|
dotnet tool install -g redth.net.maui.check |
Install the tool globally on your machine. |
maui-check |
Run the standard diagnostic scan on your environment. |
maui-check --fix |
Runs the check and automatically applies fixes without prompting for user approval. |
maui-check --skip openjdk |
Skips a specific check (e.g., if you already managed Java manually). |
maui-check --verbose |
Provides detailed logs, useful for troubleshooting failed installations. |
While maui-check was essential during early MAUI previews, modern .NET development often uses built-in CLI commands for similar tasks:
dotnet workload list to see installed workloads.dotnet workload restore inside a project folder to install exactly what that specific project needs.dotnet workload update to bring all MAUI components up to date.If you encounter persistent build errors, you can run:
maui-check --force-dotnet
This forces the tool to re-run workload repair and install commands, even if it initially thinks they look correct.
dotnet workload restore as a lightweight alternative.The MAUI Check Tool (maui-check) is a command-line utility designed to verify that your development environment is correctly set up for .NET MAUI. It scans your system for required SDKs, workloads, emulators, and dependencies, and helps you fix issues quickly.
dotnet tool install -g redth.net.maui.check
maui-check
This will start scanning your environment and display results in the terminal.
.NET MAUI Check --------------- β .NET SDK 8.0.100 installed β MAUI workload installed β Android SDK found β Xcode installed β Windows SDK found All checks passed! π
.NET MAUI Check --------------- β .NET SDK 8.0.100 installed β MAUI workload installed β Android Emulator not found Suggestion: Install Android Emulator via Visual Studio Installer
.NET MAUI Check --------------- β .NET SDK 8.0.100 installed β MAUI workload outdated Suggestion: Run 'dotnet workload update'
| MAUI-Nuget-Coommunity-Toolkit | MAUI Introduction | |