Coder Social home page Coder Social logo

Comments (9)

metadings avatar metadings commented on June 11, 2024

That seems to be because the libsodium.dll and libzmq.dll are non-MSIL files. Use nuget.exe instead - I'll look into this.

from clrzmq4.

arisliang avatar arisliang commented on June 11, 2024

VS2012 has the same error. How to use nuget.exe to install in a solution? Install-package in the Package Management Console in VS has the same error as well.

from clrzmq4.

Petrox avatar Petrox commented on June 11, 2024

nuget.exe install ZeroMQ should work, but you will have to download the
standalone exe from nuget website before...

VS2012 has the same issue. How to use nuget.exe to install in a solution?
Install-package in the Package Management Console is not working as well.


Reply to this email directly or view it on GitHub
#15 (comment).

from clrzmq4.

metadings avatar metadings commented on June 11, 2024

now i've installed vs2013 and updated the .nuspec file

from clrzmq4.

metadings avatar metadings commented on June 11, 2024

You now need to Install-Package ZeroMQ
and set the 'Copy to output directory' property to 'Copy if newer',
on all files in the i386 and amd64 folders.

from clrzmq4.

arisliang avatar arisliang commented on June 11, 2024

Thanks, it was a quick fix! Nuget approach working fine on vs12 now.

However, when adding the nuget package to multiple projects, it will create i386 and amd64 folders to all the projects. Changing all their properties is a bit too troublesome, especially when project number grows and all installed the nuget package.

Is it possible to make the default to be "Copy if newer"?

from clrzmq4.

metadings avatar metadings commented on June 11, 2024

Well no, but I'm going to have the files as embedded resource, so there'll be no need to copy the files.

from clrzmq4.

petke avatar petke commented on June 11, 2024

I'm also having trouble with this. Everything works fine when you install a new project from scratch with nuget etc (setting copy if newer on the files that end up in amd64 and i386).

But when all non binary files for that project is checked into source control, and checked out into a new local directory then there is trouble. Nuget package restore manages to get ZeroMQ to the packages directory. But it fails to copy any of those files to the project amd64 and i386 folder. I could manually copy them there but thats asking for trouble.

Anyone got any idea on what is going on?

Edit: One workaround to get new projects checked out of source control to work. Is to uninstall the nuget package, and reinstall it. Then the files end up in amd64 and i386. And you can then do the whole "copy of newer" thing.

from clrzmq4.

metadings avatar metadings commented on June 11, 2024

Yes, you need to git add -f amd64/libzmq.so for example, because binary files are ignored by git...

from clrzmq4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.