Toast is throwing a System.Runtime.InteropServices.COMException #1527
Replies: 4 comments 9 replies
-
Are you using: using CommunityToolkit.Maui.Alerts; Then something like:
|
Beta Was this translation helpful? Give feedback.
-
Can you attach a small REPO, so that everyone/anyone can review and see what can be done to resolve/help? |
Beta Was this translation helpful? Give feedback.
-
Maybe worth to mention is that, I have in the launcherSettings.json this: So I don't build it as MsixPackage |
Beta Was this translation helpful? Give feedback.
-
Closed as answered, if closed in error please let us know to re-open. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all,
I have a Problem and I don't know really how to solve it.
I have a quite simple Application, it is just a Page in xaml with a Button. The Button as a Clicked handler, which is showing a Toast.
This is how I create the Toast
private async void Button_Clicked(object sender, EventArgs e)
{
var toast = Toast.Make("Test");
await toast.Show();
}
the Problem is that the Show method is throwing the System.Runtime.InteropServices.COMException.
What am I doing wrong?
I am on .Net8 and updated all Nuget Packages.
The CommunityToolkitSample solution works fine for me, so I think it is something with my solution. But I don't know what it could be.
Beta Was this translation helpful? Give feedback.
All reactions