From 0605d162ee92f9cea14a49ed2a514238229e6171 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Tue, 5 Feb 2019 09:15:25 -0800 Subject: [PATCH] Use SetPlatform in native project references (#7260) May fix https://github.com/aspnet/AspNetCore/issues/7250 We were double building native projects in x86 and win32 platforms --- .../ANCMIISExpressV2/AncmIISExpressV2.wixproj | 1 + .../AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj | 1 + .../AspNetCoreModule-Setup/Directory.Build.props | 12 ++++++++---- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj index 73052d4ae5..416a366105 100644 --- a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj +++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMIISExpressV2/AncmIISExpressV2.wixproj @@ -44,6 +44,7 @@ aspnetcoreCA + Platform=Win32 {7c27e72f-54d0-4820-8cfa-5e4be640974b} True True diff --git a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj index 567462fb6e..66d093c623 100644 --- a/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj +++ b/src/Installers/Windows/AspNetCoreModule-Setup/ANCMV2/AncmV2.wixproj @@ -44,6 +44,7 @@ aspnetcoreCA + Platform=Win32 {7c27e72f-54d0-4820-8cfa-5e4be640974b} True True diff --git a/src/Installers/Windows/AspNetCoreModule-Setup/Directory.Build.props b/src/Installers/Windows/AspNetCoreModule-Setup/Directory.Build.props index 186ba000da..b1f5215841 100644 --- a/src/Installers/Windows/AspNetCoreModule-Setup/Directory.Build.props +++ b/src/Installers/Windows/AspNetCoreModule-Setup/Directory.Build.props @@ -40,30 +40,34 @@ - + AspNetCoreV2WoW64 True True false + Platform=x64 - + AspNetCoreV2HandlerWoW64 True True false + Platform=x64 - + AspNetCoreV2 True True false + Platform=Win32 - + AspNetCoreV2Handler True True false + Platform=Win32