我正在使用 monodevelop,并且收到“framework mono/.NET 4.0 notinstalled”(未安装框架 mono/.NET 4.0)当我尝试构建时出错
有趣的是,我确实安装了 .NET 4.0 以及所有 GTK#。我想也许我安装的顺序错误或者有些荒谬,所以我卸载并重新安装了所有内容。我什至尝试安装普通的旧单声道,然后安装单声道开发,但我仍然遇到同样的错误。
The fun part is, I do have .NET 4.0 installed, as well as all GTK#. I thought maybe I installed it in the wrong order or something ridiculous, so I uninstalled and re-installed everything. I even tried installing plain old mono, and then installing monodevelop, but I still get that same error.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
IIRC MonoDevelop 2.4 有一个错误,导致其无法瞄准 .NET 4.0 的最终发布版本。修复应该在 MonoDevelop 2.4.1 中。
作为解决方法,假设您安装了 Mono 2.8(支持 4.0),您可以将目标运行时更改为 Mono 而不是 .NET。 ”
或
IIRC MonoDevelop 2.4 had a bug that prevented it targeting the final released version of .NET 4.0. The fix should be in MonoDevelop 2.4.1.
As a workaround, assuming you installed Mono 2.8 (which has 4.0 support), you can change your target runtime to Mono instead of .NET. Either
or
您可以轻松更改应用程序运行的框架,以允许 MonoDevelop 通过执行以下操作成功构建您的应用程序:
you could easily change the framework under which tyour application is running to allow MonoDevelop build your's successfully by doing the following: