Skip to content

Unable to use internal controls of a friend assembly in the main app Window xaml source code #10967

@daniDevKr

Description

@daniDevKr

Describe the bug

Unable to use internal controls of a friend assembly in the main app Window xaml source code.

Steps to reproduce the bug

  1. I create an internal UserControl in a shared winui library;
  2. I referred to the control in main app window xaml source code.

Expected behavior

No response

Screenshots

No response

NuGet package version

Windows App SDK 1.4.4: 1.4.231219000

Packaging type

Packaged (MSIX)

Windows version

Windows 11 version 22H2 (22621, 2022 Update)

IDE

Visual Studio 2022

Additional context

The repository with sample code:
https://github.com/jhonToni/SharedAssemblyWinuiExample

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationAn issue with existing documentation or a request for documenation of a new topicneeds-triageIssue needs to be triaged by the area owners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions