diff --git a/nuget/Microsoft.Windows.CppWinRT.targets b/nuget/Microsoft.Windows.CppWinRT.targets
index 8f1ff0a63..289e66ca7 100644
--- a/nuget/Microsoft.Windows.CppWinRT.targets
+++ b/nuget/Microsoft.Windows.CppWinRT.targets
@@ -417,7 +417,7 @@ $(XamlMetaDataProviderPch)
Condition="'$(CppWinRTEnablePlatformProjection)' == 'true' AND '$(CppWinRTOverrideSDKReferences)' != 'true'"
DependsOnTargets="GetCppWinRTPlatformWinMDInputs;$(CppWinRTMakePlatformProjectionDependsOn)"
Inputs="@(CppWinRTPlatformWinMDInputs)"
- Outputs="$(GeneratedFilesDir)winrt\base.h">
+ Outputs="$(IntDir)cppwinrt_plat.rsp">
$(CppWinRTPath)cppwinrt %40"$(IntDir)cppwinrt_plat.rsp"
@@ -446,7 +446,7 @@ $(XamlMetaDataProviderPch)
Condition="'$(CppWinRTEnableReferenceProjection)' == 'true'"
DependsOnTargets="GetCppWinRTProjectWinMDReferences;GetCppWinRTPlatformWinMDReferences;GetCppWinRTDirectWinMDReferences;$(CppWinRTMakeReferenceProjectionDependsOn)"
Inputs="@(CppWinRTDirectWinMDReferences);@(CppWinRTDynamicProjectWinMDReferences);@(CppWinRTPlatformWinMDReferences)"
- Outputs="@(CppWinRTDirectWinMDReferences->'$(GeneratedFilesDir)winrt\%(Filename).h');@(CppWinRTDynamicProjectWinMDReferences->'$(GeneratedFilesDir)winrt\%(Filename).h')">
+ Outputs="$(IntDir)cppwinrt_ref.rsp">
$(CppWinRTPath)cppwinrt %40"$(IntDir)cppwinrt_ref.rsp"
@@ -479,7 +479,7 @@ $(XamlMetaDataProviderPch)
Condition="'$(CppWinRTEnableComponentProjection)' == 'true'"
DependsOnTargets="GetCppWinRTProjectWinMDReferences;GetCppWinRTPlatformWinMDReferences;GetCppWinRTDirectWinMDReferences;$(CppWinRTMakeComponentProjectionDependsOn)"
Inputs="@(Midl->'%(MetadataFileName)');@(CppWinRTStaticProjectWinMDReferences)"
- Outputs="$(GeneratedFilesDir)winrt\$(RootNamespace).h">
+ Outputs="$(IntDir)cppwinrt_comp.rsp">
<_PCH>@(ClCompile->Metadata('PrecompiledHeaderFile')->Distinct())