From: Vitek Karas Date: Wed, 18 Sep 2019 22:30:58 +0000 (-0700) Subject: Remove the runtime property AppDomainCompatSwitch as it's not used by CoreCLR anymore... X-Git-Tag: submit/tizen/20210909.063632~11032^2~52 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=24a630776abbb80494de30a9d807a9023fc368f7;p=platform%2Fupstream%2Fdotnet%2Fruntime.git Remove the runtime property AppDomainCompatSwitch as it's not used by CoreCLR anymore. (dotnet/core-setup#8289) The usage of this has been removed several years ago in https://github.com/dotnet/coreclr/pull/5708. The new runtime behavior is always the one we were explicitly selecting with the property value anyway. Commit migrated from https://github.com/dotnet/core-setup/commit/30c4a25a9a675d632b6e7180e53a87e6fcacb909 --- diff --git a/src/installer/corehost/cli/hostpolicy/coreclr.cpp b/src/installer/corehost/cli/hostpolicy/coreclr.cpp index b287e51..234353a 100644 --- a/src/installer/corehost/cli/hostpolicy/coreclr.cpp +++ b/src/installer/corehost/cli/hostpolicy/coreclr.cpp @@ -195,7 +195,6 @@ namespace _X("TRUSTED_PLATFORM_ASSEMBLIES"), _X("NATIVE_DLL_SEARCH_DIRECTORIES"), _X("PLATFORM_RESOURCE_ROOTS"), - _X("AppDomainCompatSwitch"), _X("APP_CONTEXT_BASE_DIRECTORY"), _X("APP_CONTEXT_DEPS_FILES"), _X("FX_DEPS_FILE"), diff --git a/src/installer/corehost/cli/hostpolicy/coreclr.h b/src/installer/corehost/cli/hostpolicy/coreclr.h index 9d4711f..d2ccd5d 100644 --- a/src/installer/corehost/cli/hostpolicy/coreclr.h +++ b/src/installer/corehost/cli/hostpolicy/coreclr.h @@ -58,7 +58,6 @@ enum class common_property TrustedPlatformAssemblies, NativeDllSearchDirectories, PlatformResourceRoots, - AppDomainCompatSwitch, AppContextBaseDirectory, AppContextDepsFiles, FxDepsFile, diff --git a/src/installer/corehost/cli/hostpolicy/hostpolicy_context.cpp b/src/installer/corehost/cli/hostpolicy/hostpolicy_context.cpp index 2bb320f..17bfe5d 100644 --- a/src/installer/corehost/cli/hostpolicy/hostpolicy_context.cpp +++ b/src/installer/corehost/cli/hostpolicy/hostpolicy_context.cpp @@ -140,7 +140,6 @@ int hostpolicy_context_t::initialize(hostpolicy_init_t &hostpolicy_init, const a coreclr_properties.add(common_property::TrustedPlatformAssemblies, probe_paths.tpa.c_str()); coreclr_properties.add(common_property::NativeDllSearchDirectories, probe_paths.native.c_str()); coreclr_properties.add(common_property::PlatformResourceRoots, probe_paths.resources.c_str()); - coreclr_properties.add(common_property::AppDomainCompatSwitch, _X("UseLatestBehaviorWhenTFMNotSpecified")); coreclr_properties.add(common_property::AppContextBaseDirectory, app_base.c_str()); coreclr_properties.add(common_property::AppContextDepsFiles, app_context_deps_str.c_str()); coreclr_properties.add(common_property::FxDepsFile, fx_deps_str.c_str());