Giter VIP home page Giter VIP logo

Comments (3)

baronfel avatar baronfel commented on July 20, 2024

On Mono, the nuget binary wrapper should be in your path, so you should just need to run nuget restore FSharpKoans.sln. Can you try that to see if it works?

from fsharpkoans.

jakzale avatar jakzale commented on July 20, 2024

As of of Mono 5.2.0.224 on OSX/macOS the nuget version is 2.12.0.0.

Running nuget restore will produce the following error:

$ nuget restore
Unable to find version '2.5.10.11092' of package 'NUnit'.

Possible workaround

Download the latest version of nuget from nuget.org

$ wget https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
$ mono nuget.exe restore
MSBuild auto-detection: using msbuild version '15.0' from '/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/msbuild/15.0/bin/'.
Restoring NuGet package NUnit.2.5.10.11092.
Adding package 'NUnit.2.5.10.11092' to folder '/Users/jakub/Developer/FSharpKoans/packages'
Added package 'NUnit.2.5.10.11092' to folder '/Users/jakub/Developer/FSharpKoans/packages'

NuGet Config files used:
    /Users/jakub/Developer/FSharpKoans/.nuget/nuget.config
    /Users/jakub/.config/NuGet/NuGet.Config

Feeds used:
    /Users/jakub/.nuget/packages/
    https://api.nuget.org/v3/index.json

then you can build the koans using msbuild

$ msbuild
{ ... lots of text ... }

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:10.75

and then you can check/run the koans using mono

$ mono FSharpKoans/bin/Debug/FSharpKoans.exe

from fsharpkoans.

ChrisMarinos avatar ChrisMarinos commented on July 20, 2024

#61 should hopefully address this!

from fsharpkoans.

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.