Are there files missing from Windows SDK 10.0.26100.0 and how can I update them?

CDev-8220 365 Reputation points
2025-06-10T16:43:17.0633333+00:00

I'm trying to use the XAML Islands, but there are header files that I get the error E1696: cannot open source file.

I tried the solution Compile your newly created project at least once. Then right-click in the source code editor > Rescan > Rescan File. That will resolve all IntelliSense errors, including E1696., but regardless of doing that, or installing the Microsoft.Windows.CppWinRT Nuget package, the file is not accessible.

A particularly significant header is winrt/UwpApplication.h.

I searched Windows Kits for the UWPApplication.h, but it's nowhere to be found.

Where exactly is this header file, if not in the latest SDK? Is there an update I am missing?

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,960 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 90,191 Reputation points
    2025-06-10T16:55:29.4733333+00:00

    I'm trying to use the XAML Islands A particularly significant header is winrt/UwpApplication.h.

    You don't need this header for XAML Islands

    The 2 main headers are

    windows.ui.xaml.hosting.h

    and

    windows.ui.xaml.hosting.desktopwindowxamlsource.h

    like in the MS sample at : https://learn.microsoft.com/en-us/windows/apps/desktop/modernize/xaml-islands/host-standard-control-with-xaml-islands-cpp#use-the-xaml-hosting-api-to-host-a-winrt-xaml-control


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.