Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly resolve WinRT.Runtime.dll in Authoring targets #1167

Merged
merged 6 commits into from
Apr 12, 2022

Conversation

j0shuams
Copy link
Contributor

@j0shuams j0shuams commented Apr 11, 2022

We introduced some de-duplication logic in our authoring targets that work to isolate the latest version of WinRt.Runtime and use it when building components. In this we assumed CsWinRT nupkg would always be available, so the WinRT.Runtime from the lib folder would be comparable. But we hit a WinUI failure where this wasn't the case, because the dotnet/sdk is doing its own de-duplication. We resolve this by removing our de-duplication logic, in favor of the dotnet/sdk's.

Fixes #1156

After we get this in, we will need to remove the workaroud in WinUI.

@j0shuams j0shuams merged commit 0e26508 into master Apr 12, 2022
@j0shuams j0shuams deleted the jlarkin/auth-targets branch April 12, 2022 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CsWinRT authoring targets fails in CsWinRTAuthoring_AddManagedDependencies
2 participants