Skip to content

Commit 2a7c3f7

Browse files
committed
Add Generated Files to IncludePath
So that Project > Refresh Browsing Database will make IntelliSense see the generated WinRT headers after a build.
1 parent e9a290b commit 2a7c3f7

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

IExplorerCommand_CppWinRT/IExplorerCommand_CppWinRT.vcxproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,21 +103,27 @@
103103
<PropertyGroup Label="UserMacros" />
104104
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
105105
<RunCodeAnalysis>true</RunCodeAnalysis>
106+
<IncludePath>$(IntDir)Generated Files;$(IncludePath)</IncludePath>
106107
</PropertyGroup>
107108
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
108109
<RunCodeAnalysis>true</RunCodeAnalysis>
110+
<IncludePath>$(IntDir)Generated Files;$(IncludePath)</IncludePath>
109111
</PropertyGroup>
110112
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
111113
<RunCodeAnalysis>true</RunCodeAnalysis>
114+
<IncludePath>$(IntDir)Generated Files;$(IncludePath)</IncludePath>
112115
</PropertyGroup>
113116
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
114117
<RunCodeAnalysis>true</RunCodeAnalysis>
118+
<IncludePath>$(IntDir)Generated Files;$(IncludePath)</IncludePath>
115119
</PropertyGroup>
116120
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
117121
<RunCodeAnalysis>true</RunCodeAnalysis>
122+
<IncludePath>$(IntDir)Generated Files;$(IncludePath)</IncludePath>
118123
</PropertyGroup>
119124
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
120125
<RunCodeAnalysis>true</RunCodeAnalysis>
126+
<IncludePath>$(IntDir)Generated Files;$(IncludePath)</IncludePath>
121127
</PropertyGroup>
122128
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
123129
<ClCompile>

0 commit comments

Comments
 (0)