From 26c9bd9f15c364215be9731bb050454c14d90767 Mon Sep 17 00:00:00 2001 From: Vincent Povirk Date: Sat, 9 Jan 2016 16:16:24 -0600 Subject: [PATCH] mscoree: Remove "Install Mono for Windows" message. Signed-off-by: Vincent Povirk Signed-off-by: Alexandre Julliard --- dlls/mscoree/metahost.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/dlls/mscoree/metahost.c b/dlls/mscoree/metahost.c index 35284b723d9..b0237b31542 100644 --- a/dlls/mscoree/metahost.c +++ b/dlls/mscoree/metahost.c @@ -126,11 +126,6 @@ static void CDECL set_print_handler_dummy(MonoPrintCallback callback) { } -static void missing_runtime_message(void) -{ - MESSAGE("wine: Install Mono for Windows to run .NET applications.\n"); -} - static HRESULT load_mono(LPCWSTR mono_path) { static const WCHAR lib[] = {'\\','l','i','b',0}; @@ -277,7 +272,7 @@ static HRESULT CLRRuntimeInfo_GetRuntimeHost(CLRRuntimeInfo *This, RuntimeHost * if (!get_mono_path(mono_path)) { - missing_runtime_message(); + ERR("Wine Mono is not installed\n"); return CLR_E_SHIM_RUNTIME; } @@ -1306,8 +1301,6 @@ HRESULT get_runtime_info(LPCWSTR exefile, LPCWSTR version, LPCWSTR config_file, } } - missing_runtime_message(); - return CLR_E_SHIM_RUNTIME; }