为什么 MonoDevelop 找不到 al2 链接器来为 ZedGraph 构建卫星程序集?
系统信息:
- Windows 7:
- MonoDevelop 2.4.2.1
- Mono 2.6.7
尝试编译 ZedGraph(图表控件)。 但它具有多语言支持资源,但不会编译成附属程序集。
请意识到这一切都可以在 Visual Studio 上的 .Net 中编译、构建和运行良好。我们正在尝试移植并使其全部在 Mono 上运行。
具体来说,MonoDevelop 给出了一个错误,指出“al2”无法找到,这是 Mono for .Net 2.0 的链接器。
我对此进行了广泛的谷歌搜索,结果只是了解到 al2 是 Mono .Net 2.0 的链接器,并且它应该是在 Mono 发行版中。
所以我安装了 Mono 发行版,它在 bin 文件夹中显示了 al2。
但MonoDevelop还是没有找到。
我想我可以尝试将 Mono bin 添加到 Windows 路径,但由于使用 Visual Studio 构建 .Net 时出现不兼容问题,我不喜欢添加到该 bin。
简而言之,MonoDevelop 构建在我们所有内部开发的库的基础上。那么如何让卫星程序集适用于 ZedGraph 项目呢?
System Info:
- Windows 7:
- MonoDevelop 2.4.2.1
- Mono 2.6.7
Trying to compile ZedGraph (a charting control).
But it has resources for multilanguage support which won't compile into a satellite assembly.
Please realize this all compiles, builds, and runs fine in .Net on Visual Studio. We're trying to port and get it all running on Mono.
Specifically, MonoDevelop gives an error that 'al2' can't be found which is the linker for Mono for .Net 2.0
My extensive googling on this simply resulted in learning that al2 is the linker for Mono .Net 2.0 and that it's supposed to be in the Mono distro.
So I installed the Mono distro and it shows the al2 in the bin folder.
But MonoDevelop still doesn't find it.
I suppose I could try adding the Mono bin to the Windows path but then I don't like adding to the bin due to incompatibility problems when building .Net using Visual Studio.
In short MonoDevelop builds great on all our in-house developed libraries. So how to get satellite assemblies working for ZedGraph project?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
可以用xbuild再试一下吗? http://www.mono-project.com/Microsoft.Build
这并不奇怪在 MonoDevelop 中查看 xbuild 中可编译的内容失败了,因为 xbuild 与 MSBuild 更兼容。
Can you use xbuild to try again? http://www.mono-project.com/Microsoft.Build
It is not strange to see something compilable in xbuild failed in MonoDevelop, as xbuild is more compatible with MSBuild.