LibuvSharp icon indicating copy to clipboard operation
LibuvSharp copied to clipboard

Make a NuGet package!

Open davidfowl opened this issue 10 years ago • 5 comments

Because that would be really useful

davidfowl avatar May 21 '14 03:05 davidfowl

I will do so!

Thanks for the request, I feel honored to have an issue posted by the SignalR creator.

txdv avatar May 21 '14 10:05 txdv

:smile:, I tried to build libuv and use it but I couldn't get the DllImport to work.

davidfowl avatar May 21 '14 23:05 davidfowl

maybe you need to change the calling convention to: CallingConvention=CallingConvention.Cdecl

txdv avatar May 22 '14 08:05 txdv

Didn't help, couldn't get this working on windows. Have you made any progress on the package?

davidfowl avatar May 24 '14 07:05 davidfowl

open the microsoft visual studio console, go to the directory libuv (you should use the version I link in my repo) and execute the command "vacbuild.bat release shared", you will get a shared version which will work, but you have to rename it to uv.dll, because libuv.dll won't be detected by the .NET runtime. I did all this with VS2012 installed.

Haven't been for a long time on windows, need to fix up some faulty marshalling. Mono is in that regard more relaxed.

Do you want me to upload the uv.dll?

txdv avatar May 26 '14 16:05 txdv