Which sample are you reporting a bug in?
Example: WiFiDirect cppwinrt
Describe the bug
A clear and concise description of what the bug is.
Include links to specific lines of code where you think the bug is.
(Click the line number, then click the "..." and select "Copy permalink.")
If not sure, at least include a link to the scenario where the problem is.
Build fail with x:Class type 'SDKTemplate.Styles' is not found in 'SDKTemplate'
I noticed that the x:Class="SDKTemplate.Styles" was introduced from 2025-07-24 08:00 which described Windows 11 Version 24H2 - July 2025 Samples Update.
To Reproduce
Steps to reproduce the behavior:
Just Rebuid the project.
Expected behavior
A clear and concise description of what you expected to happen.
Build Success.
Screenshots
If applicable, add screenshots to help explain your problem.
Configuration
- Language/architecture/flavor: C++/WinRT x64 Debug
- Windows platform and build number: Windows 11 24H2
- Visual Studio version: Visual Studio 2026 18.1.1 and Visual Studio 2022 17.14.23
Additional context
Add any other context about the problem here.