-
Notifications
You must be signed in to change notification settings - Fork 412
Closed
Labels
area-DeveloperToolsIssues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integrationIssues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integrationbugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
When you include the Microsoft.Windows.AppLifecycle.h (or any other header that starts with Microsoft.Windows), it causes issues in other AppSDK headers included after that (eg: Microsoft.UI.Xaml.h) since the generated code references types under the Windows::Foundation namespace but the compiler thinks that it's the Microsoft::Windows::Foundation namespace which doesn't exist.
Steps to reproduce the bug
- Include any header that starts with "Microsoft.Windows" before other AppSDK headers.
- See the error.
Expected behavior
This should compile and work. Including the header, after all other AppSDK headers works but shouldn't be necessary.
Screenshots
NuGet package version
1.0.0
Packaging type
Packaged (MSIX)
Windows version
Windows 10 version 21H2 (19044, November 2021 Update)
IDE
Visual Studio 2022
Additional context
No response
triplef
Metadata
Metadata
Assignees
Labels
area-DeveloperToolsIssues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integrationIssues related to authoring (source and IDL), debugging, HotReload, LiveVisualTree, VS integrationbugSomething isn't workingSomething isn't working
