From 3679a5e96f5cde4249ae6282260582dbccb1117c Mon Sep 17 00:00:00 2001 From: luqunl Date: Tue, 31 Oct 2017 13:06:42 -0700 Subject: [PATCH 1/2] Enable build System.Private.Interop.mono project only enable mini winrt on windows OS and resolve build output folder overlap problem between CoreCLR and Mono Please enter the commit message for your changes. Lines starting Change output folder to {root}\interop --- .../src/System.Private.Interop.CoreCLR.csproj | 2 +- .../src/System.Private.Interop.Mono.csproj | 82 +++++++++++++++++-- src/dirs.proj | 4 - 3 files changed, 76 insertions(+), 12 deletions(-) diff --git a/src/System.Private.Interop/src/System.Private.Interop.CoreCLR.csproj b/src/System.Private.Interop/src/System.Private.Interop.CoreCLR.csproj index 2309d0a3139..8ebf701d703 100644 --- a/src/System.Private.Interop/src/System.Private.Interop.CoreCLR.csproj +++ b/src/System.Private.Interop/src/System.Private.Interop.CoreCLR.csproj @@ -15,7 +15,7 @@ false true true - $(OutputPath)\coreclr + $(BaseOutputPath)$(OSPlatformConfig)\Interop\coreclr netstandard1.3 true diff --git a/src/System.Private.Interop/src/System.Private.Interop.Mono.csproj b/src/System.Private.Interop/src/System.Private.Interop.Mono.csproj index 7c39d096292..9a979e3345c 100644 --- a/src/System.Private.Interop/src/System.Private.Interop.Mono.csproj +++ b/src/System.Private.Interop/src/System.Private.Interop.Mono.csproj @@ -1,39 +1,107 @@ - + System.Private.Interop $(AssemblyName) + Library + $(BaseOutputPath)$(OSPlatformConfig)\Interop\mono + {A85709C9-22D5-4704-8B7A-73751BB4386A} + true + TARGET_CORE_API_SET;CORECLR; + + $(NoWarn);3021 + + MSFT + false + true + true + netstandard1.3 + true + + + $(DefineConstants);ENABLE_MIN_WINRT - $(OutputPath)\mono + + + + 4.3.0 + + + 4.3.0 + + + 1.0.0 + + + + + + + + + + + + + + + + + + + + + + + System\Runtime\InteropServices\McgPInvokeData.cs + + + System\Runtime\InteropServices\McgGeneratedNativeCallCodeAttribute.cs + + + + + + + + - + + + + + + + + + - - + - - + + + diff --git a/src/dirs.proj b/src/dirs.proj index d3fa787a405..2637ccf87dd 100644 --- a/src/dirs.proj +++ b/src/dirs.proj @@ -10,10 +10,6 @@ - - - - From 4fc5070a33f87f9d592de7211282914117e7748a Mon Sep 17 00:00:00 2001 From: luqunl Date: Tue, 31 Oct 2017 14:28:21 -0700 Subject: [PATCH 2/2] Use low case interop --- .../src/System.Private.Interop.CoreCLR.csproj | 2 +- .../src/System.Private.Interop.Mono.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/System.Private.Interop/src/System.Private.Interop.CoreCLR.csproj b/src/System.Private.Interop/src/System.Private.Interop.CoreCLR.csproj index 8ebf701d703..443e811f701 100644 --- a/src/System.Private.Interop/src/System.Private.Interop.CoreCLR.csproj +++ b/src/System.Private.Interop/src/System.Private.Interop.CoreCLR.csproj @@ -15,7 +15,7 @@ false true true - $(BaseOutputPath)$(OSPlatformConfig)\Interop\coreclr + $(BaseOutputPath)$(OSPlatformConfig)\interop\coreclr netstandard1.3 true diff --git a/src/System.Private.Interop/src/System.Private.Interop.Mono.csproj b/src/System.Private.Interop/src/System.Private.Interop.Mono.csproj index 9a979e3345c..efe03b78e3f 100644 --- a/src/System.Private.Interop/src/System.Private.Interop.Mono.csproj +++ b/src/System.Private.Interop/src/System.Private.Interop.Mono.csproj @@ -5,7 +5,7 @@ System.Private.Interop $(AssemblyName) Library - $(BaseOutputPath)$(OSPlatformConfig)\Interop\mono + $(BaseOutputPath)$(OSPlatformConfig)\interop\mono {A85709C9-22D5-4704-8B7A-73751BB4386A} true TARGET_CORE_API_SET;CORECLR;