-
Notifications
You must be signed in to change notification settings - Fork 697
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
Bug:Build failure due to namespace changes in XamlTypeInfo after C++/WinRT update #9471
Comments
Was it just C++/WinRT that changed?
So I could understand an update to the Windows App SDK package causing this, since that is what contains the Xaml Compiler. But an update to C++/WinRT shouldn't cause this. |
Possibly related: microsoft/cppwinrt#1397 |
@takatsuka2022 Can you share a repro project? |
We have created a test pro. We have also confirmed that the solution builds successfully and is executable by reverting the CppWinRT version back to 2.0.230706.1. |
@takatsuka2022 thank you for the repro. A fix has been made to CppWinRT: microsoft/cppwinrt#1404 |
Fix has been published: https://www.nuget.org/packages/Microsoft.Windows.CppWinRT/2.0.240405.15 |
Describe the bug
In cppwinrt version 2.0.240111.5
I'm experiencing a build failure when referencing a WinUI 3 runtime component (root namespace: Control1) in a WinUI 3 project (root namespace: App1). The namespaces registered in App1's XamlTypeInfo are different before and after updating C++/WinRT.
Before the update, the entry in XamlTypeInfo looks like this:
After the update, it changes to:
Steps to reproduce the bug
I'm experiencing a build failure when referencing a WinUI 3 runtime component (root namespace: Control1) in a WinUI 3 project (root namespace: App1).
Expected behavior
No response
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: