Skip to content

Add possibilty to add a user-specified windows manifest file during exe creation on windows #61451

@RobertRoeb

Description

@RobertRoeb

I am in the process of creating dart bindings for native GUIs on Linux, OSX, iOS and Windows without going through flutter. This works well on Linux with GTK+, it would work on OSX if I could tell Dart to use the correct main thread for the GUI, and it almost works on Windows, except that the resulting app gets a Windows95 look because I am not able to embed the appropriate manifest file into the binary. The manifest file is a short XML file that needs to be linked (embedded) into the .exe file. In principle, a manifest file could also be provided as an external file, but I have not been able to get that to work (maybe because Dart already embeds a manifest file into the binary, and if it does, this one will be used and an external one will be ignored).

Typically, the manifest file can be included into a Windows resource file (*.rc) and both together can be "compiled" to an obj file which is then linked with all the other obj files into the final exe binary.

Ideally, I would like to have an option to link the obj file that contains the manifest into the resulting exe file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions