C# DBus Sharp不在Windows上工作

C# DBus Sharp不在Windows上工作,c#,mono,monodevelop,managed,dbus,C#,Mono,Monodevelop,Managed,Dbus,让我来描述一下我所做的: 下载 在xamarin studio(monodevelop)中添加了另一个项目,并将其命名为“DBus Sharp” 将对我的项目的引用添加到“DBus Sharp”,并尝试调用 Bus bus = Bus.System; 得到了以下异常 System.Exception: Unable to open the system message bus. ---> System.DllNotFoundException: Die DLL "libsocket

让我来描述一下我所做的:

  • 下载
  • 在xamarin studio(monodevelop)中添加了另一个项目,并将其命名为“DBus Sharp”
  • 将对我的项目的引用添加到“DBus Sharp”,并尝试调用

    Bus bus = Bus.System; 
    
  • 得到了以下异常

    System.Exception: Unable to open the system message bus. ---> System.DllNotFoundException: Die DLL "libsocket": Das angegebene Modul wurde nicht gefunden. (Ausnahme von HRESULT: 0x8007007E) kann nicht geladen werden. ---> System.Exception: 
    
    ---内部异常堆栈跟踪的结束---

    ---内部异常堆栈跟踪的结束---


我做错了什么

据我所知,dbus夏普还没有windows传输。我从这里到那里,knocte说它可以与dbus夏普一起使用。
at bei DBus.Unix.UnixSocket.socket(Int32 domain, Int32 type, Int32 protocol)
at bei DBus.Unix.UnixSocket..ctor()
at bei DBus.Transports.UnixNativeTransport.OpenUnix(String path)
at bei DBus.Transports.UnixNativeTransport.Open(String path, Boolean abstract)
at bei DBus.Transports.UnixTransport.Open(AddressEntry entry)
at bei DBus.Transports.Transport.Create(AddressEntry entry)
at bei DBus.Connection.OpenPrivate(String address)
at bei DBus.Connection..ctor(String address)
at bei DBus.Bus..ctor(String address)
at bei DBus.Bus.Open(String address)
at bei DBus.Bus.get_System()
at bei DBus.Bus.get_System()
at bei AudioCuesheetEditor.MainClass.Main(String[] args) in e:\Projekte\Audio Cuesheet Editor (Windows)\src\AudioCuesheetEditor\MainClass.cs:Zeile 65.