Leap.PInvoke() problems, Leap Invoke issues.

NOTE: I created the .NET 4.5 DLL. http://everythingworkflow.wordpress.com/2013/09/09/created-the-leap-4-5-dll-not-supported-by-leap/

Make sure you have the right x86 or x64 dll’s
Then I copy all the appropriate DLL’s a “ThirdPartyDlls” Folder to hold them in so I know I have the same versions in all projects that will use Leap.

Reference the Proper: LeapCSHarp.Netx.x.dll version (3.5 or 4.0)
through regular Solution Explorer from that Directory.

Then Add Existing Item these: Leap.dll and LeapSharp.dll
to the project as Items.
Build Action: Content
Copy to Output: Copy always.
Alt B then Alt C (Clean)
Alt B then Alt R (Rebuild)

Should fix most things:
See note above use that for 4.5 now.

Also right now this won’t compile in .Net 4.5, we need to wait until leapCSharp.Net4.5.dll is released to compile in greater than 4.0.

I want to use leap with 4.5
I can’t fix that, but I can show you how to get back Async.

Compile your apps in 4.0 until the leapCSharp.Net4.5.dll comes out.

You can install the segmented Async Pack for 4.0 for missing 4.5 DLL’s here: http://www.microsoft.com/en-us/download/details.aspx?id=29576

Share on Facebook

Leave a Reply

Your email address will not be published. Required fields are marked *