Skip to content

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

Open
@sudharsan-narayanan

Description

@sudharsan-narayanan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-DeploymentIssues related to packaging, installation, runtime (e.g., SelfContained, Unpackaged)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions