summaryrefslogtreecommitdiff
path: root/clr.coreclr.props
diff options
context:
space:
mode:
authorJeremy Kuhne <jeremy.kuhne@microsoft.com>2016-10-26 04:52:41 (GMT)
committerJeremy Kuhne <jeremy.kuhne@microsoft.com>2016-10-28 18:52:18 (GMT)
commit5a7fb90eb479450cd5671e4531336dea7c072492 (patch)
treef7c54d4f2c562ab4f4df5942cd2eabed59b43069 /clr.coreclr.props
parent22303a95a5320c4a339fe36c21ffaa9e59ffb08f (diff)
downloadcoreclr-5a7fb90eb479450cd5671e4531336dea7c072492.zip
coreclr-5a7fb90eb479450cd5671e4531336dea7c072492.tar.gz
coreclr-5a7fb90eb479450cd5671e4531336dea7c072492.tar.bz2
Copy CoreFX FileStream to CoreLib
This copies FileStream to CoreLib and uses it in place of the legacy FileStream. Code is mostly a direct copy with the addition of a few internal constructor overloads. Adds a simple Debug wrapper for BCLDebug to allow keeping the code the same. Also follows the same pattern for SR wrapping. Needed to bring down PreAllocatedOverlapped. - Expose FileStream in model.xml - Remove native usage of FileStreamAsyncResult - #ifdef SafeFileHandle creation in existing code (to avoid mismatched PAL/CoreFX usage)
Diffstat (limited to 'clr.coreclr.props')
-rw-r--r--clr.coreclr.props9
1 files changed, 9 insertions, 0 deletions
diff --git a/clr.coreclr.props b/clr.coreclr.props
index c136fa5..2627e1b 100644
--- a/clr.coreclr.props
+++ b/clr.coreclr.props
@@ -77,6 +77,9 @@
-->
<FeatureImplicitTls Condition="'$(TargetArch)' == 'arm64'">true</FeatureImplicitTls>
<FeatureSvrGc Condition="'$(TargetArch)' != 'arm'">true</FeatureSvrGc>
+ <FeatureCoreFxFileStream>true</FeatureCoreFxFileStream>
+ <FeatureCoreFxShim>true</FeatureCoreFxShim>
+ <FeatureCoreFxOverlapped>true</FeatureCoreFxOverlapped>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetsUnix)' == 'true'">
@@ -102,4 +105,10 @@
<FeatureUseLcid>true</FeatureUseLcid>
<FeatureImplicitLongPath>true</FeatureImplicitLongPath>
</PropertyGroup>
+ <PropertyGroup Condition="'$(TargetsUnix)' != 'true' and '$(ClrProduct)' == 'core_clr'">
+ <FeatureCoreFxWindowsInterop>true</FeatureCoreFxWindowsInterop>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(TargetsUnix)' == 'true' and '$(ClrProduct)' == 'core_clr'">
+ <FeatureCoreFxUnixInterop>true</FeatureCoreFxUnixInterop>
+ </PropertyGroup>
</Project>