Attempting to develop C sharp client that uses libvirt DLL.  Despite placing the libvirt DLL in a number of different locations, call to virConnectOpen() fails consistently with a DLL not found exception.  Declaration as follows:

 

        [DllImport(“libvirt-0.dll”)]

        private static extern IntPtr virConnectOpen(String name);

 

Called as follows:

 

        IntPtr conn = virConnectOpen(null);

 

Suggestions?

 

Tim McLeod