From 85f1f3d893d3c2b776cd81504f1b07282a86c163 Mon Sep 17 00:00:00 2001 From: Pavel Krymets Date: Fri, 21 Dec 2018 16:46:51 -0800 Subject: [PATCH] Fix site extension ANCM layout (#6088) --- src/Servers/IIS/ResolveIisReferences.targets | 39 ++++++------------- .../Microsoft.AspNetCore.Server.IIS.csproj | 3 +- ...tCore.Server.IntegrationTesting.IIS.csproj | 10 +++-- .../Runtime/Directory.Build.targets | 2 + ...t.AspNetCore.Runtime.SiteExtension.pkgproj | 16 +++----- 5 files changed, 27 insertions(+), 43 deletions(-) diff --git a/src/Servers/IIS/ResolveIisReferences.targets b/src/Servers/IIS/ResolveIisReferences.targets index eac3356826..be3d68c00f 100644 --- a/src/Servers/IIS/ResolveIisReferences.targets +++ b/src/Servers/IIS/ResolveIisReferences.targets @@ -10,45 +10,28 @@ with the right MSBuild incantations to get output copied to the right place. - + + - - - + + + + + + + - Platform=x64 + Platform=%(Platform) - x64\%(HandlerPath)\ - - false - - NativeContent - - PreserveNewest - - Build;BuiltProjectOutputGroup;DebugSymbolsProjectOutputGroup - - true - TargetFramework - - All - - true - - - - - Platform=x86 - - x86\%(HandlerPath)\ + %(Platform)\%(HandlerPath)\ false diff --git a/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IIS/Microsoft.AspNetCore.Server.IIS.csproj b/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IIS/Microsoft.AspNetCore.Server.IIS.csproj index 94a8e42d62..c2f8c5512b 100644 --- a/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IIS/Microsoft.AspNetCore.Server.IIS.csproj +++ b/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IIS/Microsoft.AspNetCore.Server.IIS.csproj @@ -25,7 +25,8 @@ - + + diff --git a/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj b/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj index cc0bd80174..a545dc2e83 100644 --- a/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj +++ b/src/Servers/IIS/src/Microsoft.AspNetCore.Server.IntegrationTesting.IIS/Microsoft.AspNetCore.Server.IntegrationTesting.IIS.csproj @@ -27,9 +27,13 @@ - - - + + + + + + + diff --git a/src/SiteExtensions/Runtime/Directory.Build.targets b/src/SiteExtensions/Runtime/Directory.Build.targets index 758cb49f05..7e0b4cf398 100644 --- a/src/SiteExtensions/Runtime/Directory.Build.targets +++ b/src/SiteExtensions/Runtime/Directory.Build.targets @@ -32,6 +32,8 @@ + + diff --git a/src/SiteExtensions/Runtime/Microsoft.AspNetCore.Runtime.SiteExtension.pkgproj b/src/SiteExtensions/Runtime/Microsoft.AspNetCore.Runtime.SiteExtension.pkgproj index 2781d836cf..758794431b 100644 --- a/src/SiteExtensions/Runtime/Microsoft.AspNetCore.Runtime.SiteExtension.pkgproj +++ b/src/SiteExtensions/Runtime/Microsoft.AspNetCore.Runtime.SiteExtension.pkgproj @@ -22,26 +22,20 @@ - - - - - - - - - - - + + + + +