From a89fa1b9685ef4c7b8046e06057d6a1fa8da7086 Mon Sep 17 00:00:00 2001 From: Wes Haggard Date: Thu, 22 Mar 2018 16:59:43 -0700 Subject: [PATCH] Update Unsafe configuratations Add netcoreapp2.0 configuration to package to optimize a few parts of the Unsafe APIs. https://github.com/dotnet/corefx/issues/26145 Add netcoreapp configuration so that netcoreapp vertical still builds without needing the netcoreapp2.0 targeting pack. --- .../System.Runtime.CompilerServices.Unsafe.sln | 8 ++++---- .../src/Configurations.props | 9 +++++++-- .../src/System.Runtime.CompilerServices.Unsafe.ilproj | 8 +++++++- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git a/src/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.sln b/src/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.sln index 2cb5af215675..bc068f13fabc 100644 --- a/src/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.sln +++ b/src/System.Runtime.CompilerServices.Unsafe/System.Runtime.CompilerServices.Unsafe.sln @@ -30,10 +30,10 @@ Global {8012DD70-A6D7-45C0-BC8E-DFFB48D86E08}.Debug|Any CPU.Build.0 = netstandard-Debug|Any CPU {8012DD70-A6D7-45C0-BC8E-DFFB48D86E08}.Release|Any CPU.ActiveCfg = netstandard-Release|Any CPU {8012DD70-A6D7-45C0-BC8E-DFFB48D86E08}.Release|Any CPU.Build.0 = netstandard-Release|Any CPU - {04BA3E3C-6979-4792-B19E-C797AD607F42}.Debug|Any CPU.ActiveCfg = netstandard-Debug|Any CPU - {04BA3E3C-6979-4792-B19E-C797AD607F42}.Debug|Any CPU.Build.0 = netstandard-Debug|Any CPU - {04BA3E3C-6979-4792-B19E-C797AD607F42}.Release|Any CPU.ActiveCfg = netstandard-Release|Any CPU - {04BA3E3C-6979-4792-B19E-C797AD607F42}.Release|Any CPU.Build.0 = netstandard-Release|Any CPU + {04BA3E3C-6979-4792-B19E-C797AD607F42}.Debug|Any CPU.ActiveCfg = netcoreapp-Debug|Any CPU + {04BA3E3C-6979-4792-B19E-C797AD607F42}.Debug|Any CPU.Build.0 = netcoreapp-Debug|Any CPU + {04BA3E3C-6979-4792-B19E-C797AD607F42}.Release|Any CPU.ActiveCfg = netcoreapp-Release|Any CPU + {04BA3E3C-6979-4792-B19E-C797AD607F42}.Release|Any CPU.Build.0 = netcoreapp-Release|Any CPU {649A377C-1E07-4105-B01F-7F1044D3356C}.Debug|Any CPU.ActiveCfg = netstandard-Debug|Any CPU {649A377C-1E07-4105-B01F-7F1044D3356C}.Debug|Any CPU.Build.0 = netstandard-Debug|Any CPU {649A377C-1E07-4105-B01F-7F1044D3356C}.Release|Any CPU.ActiveCfg = netstandard-Release|Any CPU diff --git a/src/System.Runtime.CompilerServices.Unsafe/src/Configurations.props b/src/System.Runtime.CompilerServices.Unsafe/src/Configurations.props index d13cce3482f1..2a68e751ff41 100644 --- a/src/System.Runtime.CompilerServices.Unsafe/src/Configurations.props +++ b/src/System.Runtime.CompilerServices.Unsafe/src/Configurations.props @@ -1,9 +1,14 @@  - + + netcoreapp2.0; netstandard1.0; netstandard; - + + + $(PackageConfigurations); + netcoreapp + diff --git a/src/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.ilproj b/src/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.ilproj index b99fd3cf3a7a..4b9595615593 100644 --- a/src/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.ilproj +++ b/src/System.Runtime.CompilerServices.Unsafe/src/System.Runtime.CompilerServices.Unsafe.ilproj @@ -4,10 +4,16 @@ $(MSBuildThisFileDirectory)System.Runtime.CompilerServices.Unsafe.xml {04BA3E3C-6979-4792-B19E-C797AD607F42} - $(IlasmFlags) -INCLUDE=include\$(TargetGroup) + include\$(TargetGroup) + include\netcoreapp + $(IlasmFlags) -INCLUDE=$(IncludePath) + + + +