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; }