Skip to content

Self-contained WinRT components don't work. #1141

@jlaanstra

Description

@jlaanstra

Describe the bug
WinRT.Host.dll doesn't work for a self-contained deployment. It requires .NET to be installed on the machine separately which can't be done with MSIX.

To Reproduce

  1. Modify the BgTaskComponent sample to deploy the WPF App as self-contained by adding true
  2. Deploy the package to a machine that doesn't have .NET framework packages installed.

Expected behavior
Toast task from the sample should work.

Actual behavior
Toast task does not work.

Version Info
CsWinRT 1.5.0

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    authoringRelated to authoring feature workenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions