error: cannot open source file winrt/WIndows.Foundation showed up when I follow a microsoft's tutorial
As @IInspectable said in the comment, I need to compile my codes at least once when I create C++/winRT project.
After I compile my project, NuGet package generates C++/winRT headers automatically!
Default Visual Studio C++ Console App has 409 errors
Check your sdk version in your visual studio installer. Then set the version in
Properties -> General Configuration -> Windows SDK
Related Topics
When to Make a Type Non-Movable in C++11
C/C++ MACro/Template Blackmagic to Generate Unique Name
Why Is Statically Linking Glibc Discouraged
Why Does Using a Temporary Object in the Range-Based for Initializer Result in a Crash
What Happens When I Mix Signed and Unsigned Types
Best Way for Interprocess Communication in C++
How to Allocate a 2D Array of Pointers in C++
Avoiding Denormal Values in C++
C++ How Is Release-And-Acquire Achieved on X86 Only Using Mov
Compare Double to Zero Using Epsilon
How to Create Unique_Ptr That Holds an Allocated Array
Libraries in /Usr/Local/Lib Not Found
When Can You Omit the File Extension in an #Include Directive
How Is Vector Implemented in C++
How to Load a Shared Object in C++
What's the Motivation Behind Having Copy and Direct Initialization Behave Differently