4

为了进一步了解 C# 中的跨平台开发,我尝试查看 Banshee 项目。在它的当前形式下,它没有被编译。
因此,就我的知识范围而言,我正在尝试对其进行修复。

首先,几乎所有的项目都有损坏的参考资料。我认为这是最容易修复的部分。我想错了......经常被破坏的参考是 MonoPosixHelper.dll。我安装了 Mono 框架,并在它的 bin 文件夹中找到 MonoPosixHelper.dll 文件。当我试图引用它时,Visual Studio 抱怨它不是一个有效的程序集或不是一个 COM 对象。后者我理解,因为它不是一个com..

那么,这个库究竟做了什么,为什么它不是一个有效的程序集,我该如何解决这个问题?

4

1 回答 1

5

It's a native DLL, and it helps the implementation of the Mono.Posix namespace. It provides pinvoke entry points to API provided by Mono.Posix, such as conversion functions that convert various C library and system call structures to managed structures.

You should not need to reference this library in a project at all.

于 2009-07-16T20:47:01.597 回答