microsoft / microsoft/microsoft-ui-xaml

WinUI class library output path does not consider RuntimeIdentifiers witch publish function expects

Open
#10,637 1 comment 0 reactions 0 assignees View on GitHub
bug needs-triage
Dominant language
C++
Stars
8.4k
Forks
942
Avg merge
2d 7h
Merged PRs (30d)
105

Description

### Describe the bug

If you try to publish a WinUI project with a reference to a WinUI call library, the tooling will not find the class library dll because it expects an output path of the library that contains the RuntimeIdentifier.

### Steps to reproduce the bug

1. Create a WinUI project.
2. Create a WinUI class library project.
3. Add a reference to the class library.
4. Try Publish e.g. win-x64 by using Publish menu in context menu of the WinUI project.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the WinUI publish flow with a referenced WinUI class library and the win-x64 RuntimeIdentifier. Inspect how the tooling resolves the class library output path; done when publishing locates the class library DLL in the RuntimeIdentifier-specific output directory.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
build-system, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.