GithubHelp home page GithubHelp logo

And for Linux users ? about nuget-binary HOT 9 CLOSED

mono avatar mono commented on June 13, 2024
And for Linux users ?

from nuget-binary.

Comments (9)

rsafier avatar rsafier commented on June 13, 2024

I also seem to be hit with this issue while trying to compile MonoDevelop
Executing: mono /home/xxx/monodevelop/main//external/nuget-binary/NuGet.exe restore -SolutionDirectory /home/xxx/monodevelop/main/
WARNING: The initialization function tries to access Value on this instance
WARNING: Error getting response stream (Write: The authentication or decryption has failed.): SendFailure
Unable to find version '2.6.3' of package 'NUnit'.
Unable to find version '2.6.3' of package 'NUnit.Runners'.

from nuget-binary.

 avatar commented on June 13, 2024

@rsafier it's during monodevelop build too. to solve this, i've downloaded packages from packages.nuget.org/api/v2/package// , extract zip package and move dirs in "packages" dir in main.

ex: packages.nuget.org/api/v2/Nunit/2.6.3 ;)

from nuget-binary.

aldo-roman avatar aldo-roman commented on June 13, 2024

@inizan-yannick I got the Nunit 2.6.3 zip file from http://nunit.org/?p=download

Where should I extract it? I see the "main" dir but no "packages"

Thanks

from nuget-binary.

 avatar commented on June 13, 2024

you're right, packages directory is created by "nuget -restore". you must create this directory in main and extract zips in "packages". last thing, rename packages directories : "nunit_**_.__files" to "Nunit.2.6.3", according to names in .csproj files

from nuget-binary.

aldo-roman avatar aldo-roman commented on June 13, 2024

I did it like that and same error. I think I downloaded a wrong zip, because the DLLs where there but not in the right folders. I moved them according to the csproj, but problem remains.

Can you point me to the NUnit 2.6.3 package download? I tried http://packages.nuget.org/api/v2/NUnit/2.6.3 but can't download (from browser?)

Thanks!

from nuget-binary.

 avatar commented on June 13, 2024

oops, sorry : http://packages.nuget.org/api/v2/Package/name/version
so http://packages.nuget.org/api/v2/Package/Nunit/2.6.3

same thing for Nunit.Runners and for Asp dlls

from nuget-binary.

aldo-roman avatar aldo-roman commented on June 13, 2024

Ok, downloaded and extraced: "NUnit.2.6.3" and "NUnit.Runners.2.6.3" inside "main/packages/". I can see the directories requested in NUnitRunner.csproj:

........\packages\NUnit.2.6.3\lib\nunit.framework.dll
........\packages\NUnit.Runners.2.6.3\tools\lib\nunit.core.dll
........\packages\NUnit.Runners.2.6.3\tools\lib\nunit.core.interfaces.dll

but $ sudo make still gives me the same error reported by rsafier

from nuget-binary.

 avatar commented on June 13, 2024

-_-" it's me : don't forget to remove "BeforeBuild" xml section in csproj file

from nuget-binary.

 avatar commented on June 13, 2024

well, this bug isn't part of NuGet, but of System.Net because cannot authenticate https requests
please run "mozroots --import --sync" in your terminal before monodevelop build ;)

from nuget-binary.

Related Issues (2)

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.