You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package extends [Sentry.Extensions.Logging](/platforms/dotnet/guides/extensions-logging/). This means that besides the MAUI related features, through this package you'll also get access to all the framework's logging integration and also the features available in the main [Sentry](/platforms/dotnet/) SDK.
23
23
24
+
<Note>
25
+
26
+
#### Troubleshooting
27
+
28
+
The MAUI workloads are updated by Microsoft periodically. When trying to install or update `Sentry.Maui`, you may get errors such as the following:
29
+
30
+
```
31
+
error: NU1605: Detected package downgrade: Microsoft.Maui.Dependencies from 6.0.400 to 6.0.312. Reference the package directly from the project to select a different version.
32
+
error: test -> Sentry.Maui 3.18.0-preview.1 -> Microsoft.Maui.Dependencies (>= 6.0.400)
33
+
error: test -> Microsoft.Maui.Dependencies (>= 6.0.312)
34
+
```
35
+
36
+
This happens when you have an older version of the `maui` workload than the one that was current when we built the package.
37
+
We are investigating how to avoid this issue in a future release. For now, you can update your workloads by using the `dotnet workload update` command. See [this issue](https://github.com/getsentry/sentry-dotnet/issues/1724) for further details.
38
+
39
+
</Note>
40
+
24
41
### Configure
25
42
26
43
In your `MauiProgram.cs` file, call `UseSentry` on your `MauiAppBuilder`, and include any options you would like to set. The `Dsn` is the only required parameter.
0 commit comments