microsoft / microsoft/WindowsAppSDK
1.2.0 preview2 Publish error
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
### Describe the bug
1.2.0 preview2, when the reference library project contains the Microsoft.WindowsAppSDK 1.2.2 package, Publish will fail.
### Steps to reproduce the bug
1. Download the sample
[1.2.0-preview2 PublishError.zip](https://github.com/microsoft/WindowsAppSDK/files/9825245/1.2.0-preview2.PublishError.zip)
Press F5 to run, it works correctly.
2. Right-click on the PublishError project and select "Publish"
3. Start Publish
4. Prompt error, Metadata file 'Test.WinUI.dll' could not be found
### Expected behavior
no error occurs
### Screenshots
_No response_
### NuGet package version
1.2.220930.4-preview2
### Packaging type
Unpackaged
### Windows version
Windows 10 version 2004 (19041, May 2020 Update)
### IDE
Visual Studio 2022
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Download the linked 1.2.0-preview2 PublishError.zip sample and reproduce the failure by running it and publishing the PublishError project. Start by examining the Microsoft.WindowsAppSDK 1.2.2 package reference and the publish output around the missing Test.WinUI.dll metadata file. Done means the unpackaged project publishes without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100