在Mac OS X上编译moonlight应用程序
我正在使用 MonoDevelop 2.8.5,我正在尝试编译 Moonlight 应用程序,但失败了。我创建了一个全新的 Moonlight 应用程序项目并尝试编译它,但失败并出现以下错误。
Error: Framework 'Moonlight / Silverlight 4.0' not installed. (MoonlightTest)
在 2011 年 10 月的这个问题中MonoDevelop 的一位开发人员表示,如果不遇到一些重大麻烦,就不可能做到这一点。
- 新版本的 MonoDevelop 发布后,情况仍然如此吗?
- 如果是这样,如果我愿意经历一些麻烦,我该如何在 MonoDevelop 中编译 Moonlight 应用程序项目?
I'm using MonoDevelop 2.8.5 and I'm trying to compile a moonlight application, but it fails. I created a brand new Moonlight Application Project and tried to compile it, but it fails with the following error.
Error: Framework 'Moonlight / Silverlight 4.0' not installed. (MoonlightTest)
In this question from October 2011 one of the developers of MonoDevelop states that is not possible to do this without some major hassle.
- Is this still true with the new version(s) of MonoDevelop out?
- If so, how can I compile Moonlight Application Projects in MonoDevelop if I'm willing to go through some hassle?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这有点“心理调试”,但我在 Linux 中遇到过很多次,并且想象你在 OS X 上可能也会遇到同样的问题。Monodevelop 正在寻找的编译器与你安装的版本完全相同吗?它可能像名为 Moonlight1.3 与 Moonlight1.3.1 的文件夹一样简单。查看构建输出并查看它正在查找的版本,然后查看应用程序文件夹(通过终端,查找器中的应用程序文件夹可能会隐藏信息)并检查它们是否相同。
This is a bit of "psychic debugging" but I've run into it a lot in linux and imagine you might have the same problem happening on OS X. Is the compiler that Monodevelop is looking for exactly the same as the version you installed? It might be something as simple as the folder being called Moonlight1.3 vs Moonlight1.3.1. Look at the build output and see what version it is looking for then look in your applications folder (via terminal the app folder in the finder might hide the info) and check that they are the same.