Add maui CLI reference article for .NET MAUI 11#3223
Add maui CLI reference article for .NET MAUI 11#3223davidortinau wants to merge 3 commits intomainfrom
Conversation
New reference article for the maui CLI tool introduced in .NET 11: - maui doctor: environment health checks and auto-fix - maui android install: JDK, SDK, and emulator setup - maui apple install: Xcode, licenses, and iOS runtime management - Structured --json output for CI/CD and AI agent integration Upstream: dotnet/maui#34217, spec PR dotnet/maui#33865 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 17d7536: ✅ Validation status: passed
For more details, please refer to the build report. |
docs/get-started/maui-cli.md
Outdated
| | Command | Description | | ||
| |---------|-------------| | ||
| | `maui android jdk check` | Check JDK installation status | | ||
| | `maui android jdk install` | Install OpenJDK (default: 17) | |
There was a problem hiding this comment.
Is the default really 17, not 21?
docs/get-started/maui-cli.md
Outdated
| { | ||
| "name": "JDK", | ||
| "status": "ok", | ||
| "version": "17.0.12" |
There was a problem hiding this comment.
I know its just a sample, but should be 21? Make it a bit more future proof?
docs/get-started/maui-cli.md
Outdated
| Verify Xcode, accept the license, and install an iOS runtime: | ||
|
|
||
| ```dotnetcli | ||
| maui apple install --accept-licenses --runtime 18.5 |
There was a problem hiding this comment.
nit: runtime 26.something that is current so its a bit more future proof?
There was a problem hiding this comment.
had it look again. The PR evidently noted 18.5 so it took that. Went with 26.2
…l options - JDK default: 21 (not 17) per merged spec in dotnet/maui#34217 - Apple uses --accept-license (singular), not --accept-licenses - Global option is --interactive, not --ci - JSON example JDK version updated to 21.0.4 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 3774276: ✅ Validation status: passed
For more details, please refer to the build report. |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
PoliCheck Scan ReportThe following report lists PoliCheck issues in PR files. Before you merge the PR, you must fix all severity-1 and severity-2 issues. The AI Review Details column lists suggestions for either removing or replacing the terms. If you find a false positive result, mention it in a PR comment and include this text: #policheck-false-positive. This feedback helps reduce false positives in future scans. ✅ No issues foundMore information about PoliCheckInformation: PoliCheck | Severity Guidance | Term |
|
Learn Build status updates of commit 2bb70fc: ✅ Validation status: passed
For more details, please refer to the build report. |
Summary
New reference article documenting the
mauiCLI tool introduced in .NET MAUI 11 (dotnet/maui#34217, spec: dotnet/maui#33865).New file
maui doctor— environment health checks and auto-fixmaui android install— JDK, SDK, and emulator setupmaui apple install— Xcode, licenses, and iOS runtime management--jsonoutput for CI/CD and AI agent integrationmonikerRange: >=net-maui-11.0Note
The what's-new entry for this feature is included in the companion PR #3222.
Internal previews