Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventTriggerBehavior does not work in release mode on WinUI:NavView ItemInvoked event #19

Closed
sibille opened this issue Dec 4, 2018 · 2 comments
Assignees
Labels
bug Something isn't working team-Controls Issue for the Controls team

Comments

@sibille
Copy link

sibille commented Dec 4, 2018

We found an issue using the EventTriggerBehavior on the ItemInvoked event of Navigationview from WinUI. It works fine in Debug Mode, but doesn't work when compiled in Release.

Using the EventTriggerBehavior on the Loaded event works fine in debug and release though.
Could you have a look to see what is causing this?

Repro project:
BehaviorReleaseBug.zip

(X-Ref Issue on our side microsoft/TemplateStudio#2774)

@jevansaks jevansaks added the bug Something isn't working label Dec 5, 2018
@jevansaks jevansaks assigned jevansaks and ranjeshj and unassigned jevansaks Dec 5, 2018
@sibille
Copy link
Author

sibille commented Dec 5, 2018

Also linking to the issue on the behaviour sdk where Pedro has given some insights.
X-Ref: microsoft/XamlBehaviors#142

@jevansaks
Copy link
Member

Looks like the issue is known to be a problem with .NET Native because the metadata is not included unless the app author manually requests the reflection metadata to be included in their app. There's nothing that MUX can do here except help educate folks.

@jevansaks jevansaks added the team-Controls Issue for the Controls team label Nov 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

3 participants