warble.dll missing in visual studio build.

edited July 2019 in C#

Okay, I've given up on getting this codebase into Unity:

Now I'm trying to make a windows app that can do this:

Compilation seems to be throwing:
System.TypeInitializationException
HResult=0x80131534
Message=The type initializer for 'MbientLab.Warble.Scanner' threw an exception.
Source=Warble.NetStandard
StackTrace:
at MbientLab.Warble.Scanner.Start(String hci, String scanType)
at mbientlab_BridgeServer.mbientLabBridge.StartScanDevices(Action`1 _return) in C:\Users\fooli\source\repos\mbientLab_BridgeServer\mbientlab_BridgeServer\mbientLabBridge.cs:line 16
at mbientlab_BridgeServer.Form1.StartScan_Click(Object sender, EventArgs e) in C:\Users\fooli\source\repos\mbientLab_BridgeServer\mbientlab_BridgeServer\Form1.cs:line 22
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at mbientlab_BridgeServer.Program.Main() in C:\Users\fooli\source\repos\mbientLab_BridgeServer\mbientlab_BridgeServer\Program.cs:line 19

Inner Exception 1:
DllNotFoundException: Unable to load DLL 'warble': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

For the record, I'm a Unity programmer, nit normally visual studio.

Comments

Sign In or Register to comment.