FCS makes paket to make wrong load script file ( do not work well on Mono )
following that
#r "ISymWrapper, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
#r "System.IO, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
#r "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Repro steps
step1: install library
$ paket init
$ vim paket.dependencies
source https://www.nuget.org/api/v2
generate_load_scripts: true
nuget fsharp.compiler.service
$ paket install
step2: run fsx file
$ vim foo.fsx
#load @"./.paket/load/net471/main.group.fsx"
"hello" |> stdout.WriteLine
$ fsharpi foo.fsx
/Users/callmekohei/tmp/foo/.paket/load/net471/main.group.fsx(46,1)
: error FS0078: Unable to find the file 'ISymWrapper, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' in any of
/usr/local/Cellar/mono/5.4.1.6/lib/mono/4.5
/usr/local/Cellar/mono/5.4.1.6/lib/mono/4.5/Facades
/Users/callmekohei/tmp/foo
/usr/local/Cellar/mono/5.4.1.6/lib/mono/fsharp/
Expected behavior
Display Hello
Actual behavior
fsharpi command can not find libarary.
/Users/callmekohei/tmp/foo/.paket/load/net471/main.group.fsx(46,1)
: error FS0078: Unable to find the file 'ISymWrapper, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' in any of
/usr/local/Cellar/mono/5.4.1.6/lib/mono/4.5
/usr/local/Cellar/mono/5.4.1.6/lib/mono/4.5/Facades
/Users/callmekohei/tmp/foo
/usr/local/Cellar/mono/5.4.1.6/lib/mono/fsharp/
Known workarounds
commnet out
// #r "ISymWrapper, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
// #r "System.IO, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
// #r "System.Runtime, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Related information
tmp$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.13.4
BuildVersion: 17E202
FSharp.Compiler.Service (22.0.3)
- .NET Runtime, CoreCLR or Mono Version
tmp$ mono --version
Mono JIT compiler version 5.4.1.6 (tarball Mon Dec 11 14:59:42 GMT 2017)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: supported, not enabled.
GC: sgen (concurrent by default)
- Editing Tools (e.g. Visual Studio Version)
tmp$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 24 2018 01:35:22)
macOS version
Included patches: 1-1748
Compiled by Homebrew
Huge version without GUI.
tmp$ gacutil -l | grep 'System.IO'
System.IO.Compression, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
System.IO.Compression.FileSystem, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
FCS makes paket to make wrong load script file ( do not work well on Mono )
following that
Repro steps
step1: install library
step2: run fsx file
Expected behavior
Display Hello
Actual behavior
fsharpi commandcan not find libarary.Known workarounds
commnet out
Related information