-
Notifications
You must be signed in to change notification settings - Fork 81
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
AppCrash with Combination: SettingsExpander, WinUI3, No Debugger Attached #302
Comments
I have the latest Win AppSDK Version 1.4.231115000 already installed. |
@c3rebro Could you try wrapping the StackPanel in a SettingsCard? The SettingsExpander.Items is expecting a SettingsCard. You can then set the ContentAlignment on the SettingsCard to Left or Vertical and set the Horizontal(Content)Alignment to Stretch to let the StackPanel stretch. Check out the samples in the Windows Community Toolkit Gallery app (in the Store) to see more of those examples. |
Whoa. That did the Trick. Thank you so much. 🥇 |
@niels9001 Is it possible to hint that |
I wonder if we could build an analyzer for this? Seems like something IntelliSense should handle. |
Brought up again in #560 |
Describe the bug
Hello,
i got an AppCrash when trying to run my App. EventVwr shows a often produced error:
...
Name of Module: KERNELBASE.dll, Version: 10.0.19041.3636,
Ausnahmecode: 0xc000027b
Offset: 0x000000000012db22
...
I never had this issue before. What i had changed was: I wanted to get rid of the dependency from "winuicommunity" package. I had made use of their settingscontrols package. So i recreated my project with all usercontrol elements in "Communitytoolkit.winui". The App seems to crash befor a single
try { } catch() { }
has been executed.
Steps to reproduce
Expected behavior
The Expander is expanding
Screenshots
No response
Code Platform
Windows Build Number
Other Windows Build number
No response
App minimum and target SDK version
Other SDK version
No response
Visual Studio Version
No response
Visual Studio Build Number
17.8.3
Device form factor
Desktop
Additional context
P.S. Markdown Editor is Missing in the "Steps to reproduce" section...
Help us help you
No, I'm unable to contribute a solution.
The text was updated successfully, but these errors were encountered: