Napacitor CLI - nap open
Open the MAUI host project with the operating system's default handler.
npx nap open [maui]
Behavior:
- Locates the host
App.csproj(maui/App.csprojby default). - On Windows, opens the
.csprojwith the default handler (typically Visual Studio). - On macOS, runs
openon the project file (Visual Studio for Mac / Rider). - On Linux, runs
xdg-open.
Example:
npx nap open maui
You can also open the maui/ folder directly in your IDE. See Running with an IDE.