Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make a NuGet package! #5

Open
davidfowl opened this issue May 21, 2014 · 5 comments
Open

Make a NuGet package! #5

davidfowl opened this issue May 21, 2014 · 5 comments

Comments

@davidfowl
Copy link

Because that would be really useful

@txdv
Copy link
Owner

txdv commented May 21, 2014

I will do so!

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

@davidfowl
Copy link
Author

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

@txdv
Copy link
Owner

txdv commented May 22, 2014

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

@txdv txdv closed this as completed May 22, 2014
@txdv txdv reopened this May 22, 2014
@davidfowl
Copy link
Author

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

@txdv
Copy link
Owner

txdv commented May 26, 2014

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants