fslaborg / fslaborg/FSharp.Charting

On OSX you need explicit DLL references (instead of using the script in the nuget package)

Open
#29 18 comments 0 reactions 0 assignees View on GitHub
Up for grabs
Dominant language
F#
Stars
209
Forks
65
PR merge metrics
No merged PRs in 30d

Description

Referencing the FSharp.Charting.Gtk.fsx script in the nuget package doesn't work because of a bug in F# Interactive's resolution of DLLs w.r.t. relative directory #I paths when executing on Mono (or when executing on OSX/Linux).

This means you have to reference the DLLs explicitly, e.g. like this, and you have to remove the references in the script.

```
#r "../gtk-sharp-2.0/gtk-sharp.dll"
#r "../gtk-sharp-2.0/gdk-sharp.dll"
#r "../gtk-sharp-2.0/atk-sharp.dll"
#r "../gtk-sharp-2.0/glib-sharp.dll"

#r "FSharp.Charting.Gtk.0.90.5/lib/net40/OxyPlot.dll"
#r "FSharp.Charting.Gtk.0.90.5/lib/net40/OxyPlot.GtkSharp.dll"
#r "FSharp.Charting.Gtk.0.90.5/lib/net40/FSharp.Charting.Gtk.dll"

#load "FSharp.Charting.Gtk.0.90.5/FSharp.Charting.Gtk.fsx"
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.