microsoft-ui-xaml icon indicating copy to clipboard operation
microsoft-ui-xaml copied to clipboard

Crash occurs when Unpackaged type application in Windows Server 2019 Datacenter OS

Open sudharsan-narayanan opened this issue 11 months ago • 9 comments

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

  1. Open the SimpleApp project.
  2. Run the project in the mentioned OS.
  3. Note, the application is crashed.

Expected behavior

It should be run properly in any packaged type.

Screenshots

Image

NuGet package version

None

Packaging type

Unpackaged

Windows version

No response

IDE

Visual Studio 2022

Additional context

No response

Steps to reproduce the bug

  1. Run the Sample.
  2. 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

sudharsan-narayanan avatar Dec 12 '24 08:12 sudharsan-narayanan

@michael-hawker would you be able to take a look?

karkarl avatar Dec 12 '24 17:12 karkarl

@karkarl / @michael-hawker any update on this?

sudharsan-narayanan avatar Dec 16 '24 05:12 sudharsan-narayanan

@sudharsan-narayanan does this only crash in this os and same app works on newer versions?

ranjeshj avatar Jan 24 '25 23:01 ranjeshj

@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

sudharsan-narayanan avatar Feb 02 '25 06:02 sudharsan-narayanan

Hi Team,

Now, the crash issue happened in windows 11 OS also. After upgrading to latest experimental 2 SDK in WinUI 3 application.

sudharsan-narayanan avatar Jun 04 '25 08:06 sudharsan-narayanan

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.

MPITech avatar Jun 04 '25 11:06 MPITech

@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.

MPITech avatar Jun 04 '25 11:06 MPITech

This is also happening in Windows 11 with WinSDK 1.8 experiemntal 3 as well.

MPITech avatar Jun 18 '25 01:06 MPITech

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

sudharsan-narayanan avatar Jun 18 '25 04:06 sudharsan-narayanan