Skip to content

[clang-cl][Windows] After setting the manifest configuration, the app cannot start! #143119

@jiangxinhaha

Description

@jiangxinhaha

Clang version: 20.1.0
1, When I set app.manifest for the app,

Image

The following error appears when I start the app:


Microsoft Visual Studio

Unable to start program 'D:\app\Windows\output\x64\bin\Debug\App.exe'.

The application could not be started because the application configuration is incorrect. Please check the manifest file for possible errors. Reinstalling the application may fix this problem. See the application event log for more details.

OK

2, The content of app.manifest is as follows:

Image

3, MSVC is ok!

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang-cl`clang-cl` driver. Don't use for other compiler partsclang:to-be-triagedShould not be used for new issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions