在Windows上安装MonoDevelop:Gtk#要求的解决方法? [英] Installing MonoDevelop on Windows: workaround for Gtk# requirement?

查看:856
本文介绍了在Windows上安装MonoDevelop:Gtk#要求的解决方法?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Windows 7系统上安装了 Mono (版本2.11.4),现在我打算安装 MonoDevelop (版本3.0.4.7).但是,当我启动 MonoDevelop 安装程序时,出现以下错误消息,并且安装终止:

好的,可以通过从此处.但是, Mono 安装中已经包含了 Gtk#2.12.11 ,因此似乎也不需要单独安装 Gtk#. /p>

已经安装了包括 Gtk# Mono 时,是否有任何方法来指示 MonoDevelop 安装程序进行安装(另外)在 Mono 安装目录中查找所需的 Gtk#文件?

更新我尝试为 Gtk#安装虚拟"注册表设置,将 Mono 根目录指定为 Gtk #安装文件夹.这使我无需单独安装 Gtk#即可安装 MonoDevelop ,但是我无法运行 MonoDevelop 之后...

解决方案

您需要为.NET安装GTK#,因为Mono附带的GTK#是在Mono的GAC中,而不是.NET的GAC中,并且MonoDevelop安装程序是专门为设计用于安装MonoDevelop,使其能够在.NET运行时上运行.尽管可以在Windows的Mono上运行MD,但在.NET上运行已通过测试并得到正式支持.

在.NET上运行时,您仍然可以 target Mono-MonoDevelop将检测已安装的Mono运行时.并且它们将显示在目标运行时"菜单中.

I have already installed Mono (version 2.11.4) on my Windows 7 system, and now I intend to install MonoDevelop (version 3.0.4.7). However, when I start the MonoDevelop installer I get the following error message, and the installation is terminated:

OK, this can be easily fixed by obtaining the Gtk# installer from here. However, the Mono installation already includes Gtk# 2.12.11, so it really seems like an unnecessary step to also install Gtk# separately.

When Mono including Gtk# is already installed, is there any way to instruct the MonoDevelop installer to (additionally) look for the required Gtk# files in the Mono installation directories?

UPDATE I have tried to install "dummy" registry settings for Gtk#, specifying the Mono root directory as the Gtk# installation folder. This allows me to install MonoDevelop without having to install Gtk# separately, but I am not able to run MonoDevelop afterwards...

解决方案

You need to install GTK# for .NET, because the GTK# included with Mono is in Mono's GAC, not .NET's GAC, and the MonoDevelop installer is specifically designed to install MonoDevelop such that it runs on the .NET runtime. Although it should be possible to run MD on Mono on Windows, running on .NET is all that's tested and officially supported.

You can still target Mono while running on .NET - MonoDevelop will detect installed Mono runtimes. and they'll show up in the "target runtime" menu.

这篇关于在Windows上安装MonoDevelop:Gtk#要求的解决方法?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆