summaryrefslogtreecommitdiff
path: root/clr.defines.targets
diff options
context:
space:
mode:
authorJeremy Kuhne <jeremy.kuhne@microsoft.com>2016-05-09 19:25:32 -0700
committerJeremy Kuhne <jeremy.kuhne@microsoft.com>2016-05-13 11:01:02 -0700
commit720732501f1d844d1947a20ea207e5d7f760159a (patch)
treee3a67c5797548893f1e95900ce99a0e7647c5928 /clr.defines.targets
parent96b82198d8217b9b2c12f4e97e7085bd32805ace (diff)
downloadcoreclr-720732501f1d844d1947a20ea207e5d7f760159a.tar.gz
coreclr-720732501f1d844d1947a20ea207e5d7f760159a.tar.bz2
coreclr-720732501f1d844d1947a20ea207e5d7f760159a.zip
Allow long paths
Allows long paths in mscorlib. Fixes wraps for FEATURE_PATHCOMPAT and enables for desktop builds. Add feature FEATURE_IMPLICIT_LONGPATH for implicit long path support (adding \\?\). Implicit support added to Path.GetFullPath, which allows execution over MAX_PATH. Without this change corerun would fail here: HOSTLOG: AppDomainCompatSwitch=UseLatestBehaviorWhenTFMNotSpecified HOSTLOG: APP_LOCAL_WINMETADATA= HOSTLOG: Failed call to CreateAppDomainWithManager. ERRORCODE: 0x800700ce HOSTLOG: Execution failed
Diffstat (limited to 'clr.defines.targets')
-rw-r--r--clr.defines.targets4
1 files changed, 3 insertions, 1 deletions
diff --git a/clr.defines.targets b/clr.defines.targets
index 2d8d0ce78d..4c668e5e04 100644
--- a/clr.defines.targets
+++ b/clr.defines.targets
@@ -8,7 +8,7 @@
<CDefines Condition="'$(FeatureAppdomainmanagerInitoptions)' == 'true'">$(CDefines);FEATURE_APPDOMAINMANAGER_INITOPTIONS</CDefines>
<CDefines Condition="'$(FeatureAppX)' == 'true'">$(CDefines);FEATURE_APPX</CDefines>
<CDefines Condition="'$(FeatureAppXBinder)' == 'true'">$(CDefines);FEATURE_APPX_BINDER</CDefines>
- <CDefines Condition="'$(FeatureAptca)' == 'true'">$(CDefines);FEATURE_APTCA</CDefines>
+ <CDefines Condition="'$(FeatureAptca)' == 'true'">$(CDefines);FEATURE_APTCA</CDefines>
<CDefines Condition="'$(FeatureArrayStubAsIL)' == 'true'">$(CDefines);FEATURE_ARRAYSTUB_AS_IL</CDefines>
<CDefines Condition="'$(FeatureStubsAsIL)' == 'true'">$(CDefines);FEATURE_STUBS_AS_IL</CDefines>
<CDefines Condition="'$(FeatureBclFormatting)' == 'true'">$(CDefines);FEATURE_BCL_FORMATTING</CDefines>
@@ -162,6 +162,7 @@
<DefineConstants Condition="'$(FeatureIdentityReference)' == 'true'">$(DefineConstants);FEATURE_IDENTITY_REFERENCE</DefineConstants>
<DefineConstants Condition="'$(FeatureImpersonation)' == 'true'">$(DefineConstants);FEATURE_IMPERSONATION</DefineConstants>
<DefineConstants Condition="'$(FeatureIncludeAllInterfaces)' == 'true'">$(DefineConstants);FEATURE_INCLUDE_ALL_INTERFACES</DefineConstants>
+ <DefineConstants Condition="'$(FeatureImplicitLongPath)' == 'true'">$(DefineConstants);FEATURE_IMPLICIT_LONGPATH</DefineConstants>
<DefineConstants Condition="'$(FeatureIsolatedStorageQuotaEnforcement)' == 'true'">$(DefineConstants);FEATURE_ISOLATED_STORAGE_QUOTA_ENFORCEMENT</DefineConstants>
<DefineConstants Condition="'$(FeatureIsostore)' == 'true'">$(DefineConstants);FEATURE_ISOSTORE</DefineConstants>
<DefineConstants Condition="'$(FeatureIsostoreLight)' == 'true'">$(DefineConstants);FEATURE_ISOSTORE_LIGHT</DefineConstants>
@@ -178,6 +179,7 @@
<DefineConstants Condition="'$(FeatureNongenericCollections)' == 'true'">$(DefineConstants);FEATURE_NONGENERIC_COLLECTIONS</DefineConstants>
<DefineConstants Condition="'$(FeatureNormIdnaOnly)' == 'true'">$(DefineConstants);FEATURE_NORM_IDNA_ONLY</DefineConstants>
<DefineConstants Condition="'$(FeaturePal)' == 'true'">$(DefineConstants);FEATURE_PAL</DefineConstants>
+ <DefineConstants Condition="'$(FeaturePathCompat)' == 'true'">$(DefineConstants);FEATURE_PATHCOMPAT</DefineConstants>
<DefineConstants Condition="'$(FeatureXplatEventSource)' == 'true'">$(DefineConstants);FEATURE_EVENTSOURCE_XPLAT</DefineConstants>
<DefineConstants Condition="'$(FeaturePerfmon)' == 'true'">$(DefineConstants);FEATURE_PERFMON</DefineConstants>
<DefineConstants Condition="'$(FeaturePls)' == 'true'">$(DefineConstants);FEATURE_PLS</DefineConstants>