WindowsAppSDK icon indicating copy to clipboard operation
WindowsAppSDK copied to clipboard

Creating the exe by publish via folder it fails to launch and throws exception in Windows Server 19 OS

Open sudharsan-narayanan opened this issue 7 months ago • 2 comments

Describe the bug

In Windows Server 2019 OS, If we are creating an exe from publish via folder by using the Custom Control with below shown settings:

publish

the exe is generated properly, but it fails to launch and throws exception with log file as shown in video.

It's replicate in the CustomControl library project also.

WinServerVideo.zip

Steps to reproduce the bug

CustomControl.zip SimpleApp.zip

  1. Open the SimpleApp project.
  2. Right click the project and click publish.
  3. Choose the folder and create.
  4. Change the setting as mentioned in description.
  5. Now, publish the exe.

Expected behavior

It should launch exe properly without any exception.

Screenshots

No response

NuGet package version

Windows App SDK 1.5.5: 1.5.240627000

Packaging type

Packaged (MSIX)

Windows version

No response

IDE

Visual Studio 2022

Additional context

No response

sudharsan-narayanan avatar Jul 11 '24 14:07 sudharsan-narayanan