Skip to content

Support Package.DisplayName for Win32 desktop apps? #81

@harvinders

Description

@harvinders

@marb2000
Currently we are able to find the dependencies for the current WinUI 3 Desktop app, and iterate through the optional packages. However, for whatever reason, we are unable to access many properties of the Package. Properties like DisplayName, Description etc are returned as empty string.

Document here clearly says that it is not available for non UWP apps.

This property is only supported for UWP app. If you call this property on an instance of a package that was created by any mechanism other than Package.Current, this property returns an empty string ("").

This makes it difficult for us to display the plugin details that are installed through the Optional Package in the Main applications settings page.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions