diff --git a/nuget/Microsoft.Windows.CppWinRT.targets b/nuget/Microsoft.Windows.CppWinRT.targets
index a297258f3..b476ea9ec 100644
--- a/nuget/Microsoft.Windows.CppWinRT.targets
+++ b/nuget/Microsoft.Windows.CppWinRT.targets
@@ -917,6 +917,9 @@ $(XamlMetaDataProviderPch)
CompileAsCppModule
true
NotUsing
+ $(IntDir)Microsoft\cppwinrt\
+ $(IntDir)Microsoft\cppwinrt\
+ $(IntDir)Microsoft\cppwinrt\
@@ -924,7 +927,7 @@ $(XamlMetaDataProviderPch)
$(GeneratedFilesDir)
- $(IntDir)
- $(OutDir)
+ $(IntDir)Microsoft\cppwinrt\