From 167695fad2750358ee8c4190f17d4ba94cbe074e Mon Sep 17 00:00:00 2001 From: Justin Kotalik Date: Fri, 21 Dec 2018 13:36:57 -0800 Subject: [PATCH] Port native project ref changes to 2.1 (#6071) --- Directory.Build.props | 1 + eng/targets/ResolveIisReferences.targets | 83 +++++++++++++++++++ src/Servers/IIS/.gitignore | 6 +- .../ServerComparison.FunctionalTests.csproj | 5 -- .../ServerComparison.TestSites.csproj | 4 +- 5 files changed, 89 insertions(+), 10 deletions(-) create mode 100644 eng/targets/ResolveIisReferences.targets diff --git a/Directory.Build.props b/Directory.Build.props index 5454304e42..8d176f3b4d 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -46,5 +46,6 @@ + diff --git a/eng/targets/ResolveIisReferences.targets b/eng/targets/ResolveIisReferences.targets new file mode 100644 index 0000000000..bd3aefd5c1 --- /dev/null +++ b/eng/targets/ResolveIisReferences.targets @@ -0,0 +1,83 @@ + + + + + + + + + + + + + + + Platform=x64 + + x64\%(HandlerPath)\ + + false + + NativeContent + + PreserveNewest + + Build;BuiltProjectOutputGroup;DebugSymbolsProjectOutputGroup + + true + TargetFramework + + All + + true + + + + + Platform=x86 + + x86\%(HandlerPath)\ + + false + + NativeContent + + PreserveNewest + + Build;BuiltProjectOutputGroup;DebugSymbolsProjectOutputGroup + + true + TargetFramework + + All + + true + + + + + + + + + + + + + %(LinkBase)%(FileName)%(Extension) + + false + + + + + + + + + \ No newline at end of file diff --git a/src/Servers/IIS/.gitignore b/src/Servers/IIS/.gitignore index f72b4575d1..5b91e632d0 100644 --- a/src/Servers/IIS/.gitignore +++ b/src/Servers/IIS/.gitignore @@ -35,10 +35,8 @@ project.lock.json *.tlog *.CppClean.log *msbuild.log -src/*/*/Debug/ -src/*/*/x64/Debug/ -src/*/*/Release/ -src/*/*/x64/Release/ +Debug/ +Release/ x64/ *vcxproj.filters *.aps diff --git a/src/Servers/test/FunctionalTests/ServerComparison.FunctionalTests.csproj b/src/Servers/test/FunctionalTests/ServerComparison.FunctionalTests.csproj index 0ba6d8dd9b..4376cb72a0 100644 --- a/src/Servers/test/FunctionalTests/ServerComparison.FunctionalTests.csproj +++ b/src/Servers/test/FunctionalTests/ServerComparison.FunctionalTests.csproj @@ -9,11 +9,6 @@ - - - - - diff --git a/src/Servers/testassets/TestSites/ServerComparison.TestSites.csproj b/src/Servers/testassets/TestSites/ServerComparison.TestSites.csproj index 759a75b222..9c041963b1 100644 --- a/src/Servers/testassets/TestSites/ServerComparison.TestSites.csproj +++ b/src/Servers/testassets/TestSites/ServerComparison.TestSites.csproj @@ -1,12 +1,14 @@  + + netcoreapp2.1;netcoreapp2.0;net461 win7-x86;win7-x64;linux-x64;osx-x64 - +