microsoft-ui-xaml
microsoft-ui-xaml copied to clipboard
Crash occurs when Unpackaged type application in Windows Server 2019 Datacenter OS
Describe the bug
Hi Team,
In Windows Server 2019 Datacenter OS, the application is crashed when the application is changed to "Unpackaged" type by using the Custom Control. You can also be able to replicate by using the below sample.
Steps to reproduce the bug
CustomControl.zip SimpleApp.zip
- Open the SimpleApp project.
- Run the project in the mentioned OS.
- Note, the application is crashed.
Expected behavior
It should be run properly in any packaged type.
Screenshots
NuGet package version
None
Packaging type
Unpackaged
Windows version
No response
IDE
Visual Studio 2022
Additional context
No response
Steps to reproduce the bug
- Run the Sample.
- Note the exception is thrown.
Once we enabled the localization for button, the exception thrown.
Expected behavior
It should be run smoothly.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003
Windows version
No response
Additional context
No response
@michael-hawker would you be able to take a look?
@karkarl / @michael-hawker any update on this?
@sudharsan-narayanan does this only crash in this os and same app works on newer versions?
@sudharsan-narayanan does this only crash in this os and same app works on newer versions?
Yes, it crashes only in Windows Server Datacenter OS.
App works fine in other OS
Hi Team,
Now, the crash issue happened in windows 11 OS also. After upgrading to latest experimental 2 SDK in WinUI 3 application.
This is happening to us in WinSDK 1.8 experimental2 and only experimental2. And only seems to happen in an unpackaged app. Windows 11 Pro.
@sudharsan-narayanan Can you please update your title to reflect that it is also a Windows 11 problem and also in WinSDK 1.8 so it maybe will get more immediate attention? This is an old post. Thank you.
This is also happening in Windows 11 with WinSDK 1.8 experiemntal 3 as well.
Hi All,
Already I have created a new post related to Windows 11 OS in below link,
https://github.com/microsoft/microsoft-ui-xaml/issues/10608