-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
TypeLoadException in Release using Behaviors with an ICommand #4022
Comments
Hello alove-kahua, thank you for opening an issue with us! I have automatically added a "needs triage" label to help get things started. Our team will analyze and investigate the issue, and escalate it to the relevant team if possible. Other community members may also look into the issue and provide feedback 🙌 |
Still fails in 7.0.2. |
Based on the above repro above i am seeing this error. Let's see if any community member can take a look at the code. |
@Kyaa-dost You can get more details if your Debugger type is set for Mixed (Managed and Native) in the project properties. |
Hi, we are facing the same issue, even with Debug builds. |
I believe this to be the same issue we're tracking with WinUI here, though in that case we're only seeing the issue in Debug mode. |
Describe the bug
Using a Behavior that has an ICommand property fails to run in Release build when using a standard Binding in XAML as such:
The exception is as follows:
This issue does not occur when the WCT is not referenced or if running the Debug build.
Steps to Reproduce
CommandIssue.zip
Steps to reproduce the behavior:
Expected behavior
The exception does not occur and runs correctly.
Screenshots
Environment
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: