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
I'm not using MVVM. I also tried to delete the button and recreate it and event handler but still the exception, only on RELEASE.
And if i delete the button, I get the same error on the next button in the layout. The only way it build it removing event handler from xaml and putting it on code behind, for all controls. What am I missing??
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on MAUI app, I tested it on debug, and worked fine.
Then I tried to generate the signed apk as :https://learn.microsoft.com/en-us/dotnet/maui/android/deployment/publish-ad-hoc?view=net-maui-8.0
but it can't build:
XamlC error XFC0002: EventHandler "myButton_Clicked" with correct signature not found in type "mytestapp.MainPage".
here the xaml of the button:
I'm not using MVVM. I also tried to delete the button and recreate it and event handler but still the exception, only on RELEASE.
And if i delete the button, I get the same error on the next button in the layout. The only way it build it removing event handler from xaml and putting it on code behind, for all controls. What am I missing??
Beta Was this translation helpful? Give feedback.
All reactions