-
Install the .NET SDK with .NET MAUI support.
- Download and install the latest .NET SDK from Microsoft's .NET Download page.
-
Install platform-specific tools:
- For Android: Install the Android SDK, Emulator, and necessary dependencies.
- For iOS: Install Xcode on a Mac (required for iOS development).
-
Set up the environment:
- Ensure
dotnet
is in your system PATH. - Install additional tools for .NET MAUI development:
sudo dotnet workload install maui
- Ensure
-
Upload debug symbols The project is configured to upload symbols on build automatically via MSBuild.
It requires an auth token set in the environment:SENTRY_AUTH_TOKEN
By default pointing to the Sentry
demo
org, on thedotnet-maui
project. You can override that directly on thecsproj
file, or set the following build properties (append them to the build command below):-p:SentryOrg={org} -p:SentryProject={proj}
-
Run the app
Run the following command to create a new .NET MAUI app in Debug mode:
dotnet build -t:Run -f net9.0-ios
or for Android
dotnet build -t:Run -f net9.0-android
-
Notifications
You must be signed in to change notification settings - Fork 1
sentry-demos/dotnet-maui
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Mobile EmpowerPlant - .NET MAUI app
Topics
Resources
Stars
Watchers
Forks
Packages 0
No packages published