From 9dbeaf25867312266c0c1facd40ff5a8bc300507 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Wed, 14 Aug 2013 14:08:31 +1000 Subject: [PATCH] mscoree: Redirect .NET 1.0 to .NET 2.0. --- dlls/mscoree/metahost.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c index eabdcf5f5ab..519e991b494 100644 --- a/dlls/mscoree/metahost.c +++ b/dlls/mscoree/metahost.c @@ -50,9 +50,10 @@ static const WCHAR net_40_subdir[] = {'4','.','0',0}; static const struct ICLRRuntimeInfoVtbl CLRRuntimeInfoVtbl; -#define NUM_RUNTIMES 3 +#define NUM_RUNTIMES 4 static struct CLRRuntimeInfo runtimes[NUM_RUNTIMES] = { + {{&CLRRuntimeInfoVtbl}, net_20_subdir, 1, 0, 3705, 0}, {{&CLRRuntimeInfoVtbl}, net_20_subdir, 1, 1, 4322, 0}, {{&CLRRuntimeInfoVtbl}, net_20_subdir, 2, 0, 50727, 0}, {{&CLRRuntimeInfoVtbl}, net_40_subdir, 4, 0, 30319, 0} @@ -1390,7 +1391,7 @@ HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file, find_runtimes(); if (legacy) - i = 2; + i = 3; else i = NUM_RUNTIMES;