Alistair Leslie-Hughes : mscoree: Redirect .NET 1.0 to .NET 2.0.
Alexandre Julliard
julliard at winehq.org
Fri Aug 16 14:23:47 CDT 2013
Module: wine
Branch: master
Commit: 9dbeaf25867312266c0c1facd40ff5a8bc300507
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9dbeaf25867312266c0c1facd40ff5a8bc300507
Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Wed Aug 14 14:08:31 2013 +1000
mscoree: Redirect .NET 1.0 to .NET 2.0.
---
dlls/mscoree/metahost.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c
index eabdcf5..519e991 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;
More information about the wine-cvs
mailing list