Fix Windows CoreConsole property list
authorJan Vorlicek <janvorli@microsoft.com>
Thu, 8 Oct 2015 23:13:14 +0000 (01:13 +0200)
committerJan Vorlicek <janvorli@microsoft.com>
Thu, 8 Oct 2015 23:13:14 +0000 (01:13 +0200)
The property list was broken - the keys list was missing a comma between two entries,
so they got merged into one string. And the values list was missing one value too.

Commit migrated from https://github.com/dotnet/coreclr/commit/71327d39fd733ad736280606e381f6c058be0fbd

src/coreclr/src/coreclr/hosts/coreconsole/coreconsole.cpp

index 5735986..170b825 100644 (file)
@@ -456,8 +456,8 @@ bool TryRun(const int argc, const wchar_t* argv[], Logger &log, const bool verbo
         W("TRUSTED_PLATFORM_ASSEMBLIES"),
         W("APP_PATHS"),
         W("APP_NI_PATHS"),
-        W("NATIVE_DLL_SEARCH_DIRECTORIES")
-               W("AppDomainCompatSwitch"),
+        W("NATIVE_DLL_SEARCH_DIRECTORIES"),
+        W("AppDomainCompatSwitch")
     };
     const wchar_t *property_values[] = { 
         // TRUSTED_PLATFORM_ASSEMBLIES
@@ -468,6 +468,8 @@ bool TryRun(const int argc, const wchar_t* argv[], Logger &log, const bool verbo
         appNiPath,
         // NATIVE_DLL_SEARCH_DIRECTORIES
         nativeDllSearchDirs,
+        // AppDomainCompatSwitch
+        W("UseLatestBehaviorWhenTFMNotSpecified")
     };