Skip to content

Application executable is not marked as Windows 10 compatible in the default manifest  #12904

Open
@jkotas

Description

@jkotas

The manifest of self-contained apps does not contain Windows 10 supportedOS element. It means that self-contained applications run with compatibility shims by default.

The proposal based on the offline discussion:

  • Stop embedding the manifest in Roslyn for .NET 5 by passing the right command line option to the C# compiler (-nowin32manifest). There is a MS build property that drives this that we should set by default for .NET 5+, unless the app has explicitly provided manifest.
    • This is going to make apps on Linux a bit smaller. The Windows manifest in app.dll is a dead weight on Linux.
  • Attach Win10 compatible manifest to apphost by default if there is not one in app.dll.

Related:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions