Frage

The following #r command will execute fine on Windows

#r "System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"

On Osx with Mono 3.0.6 it cant find the file even though the file is in the search path.

Im guessing that this might be to do with delay signing in Mono, can anyone confirm this or know what the best work arounds are?

War es hilfreich?

Lösung

Currently The #r reference with a fully qualified name is not supported in Mono.

There are areas in the F# code that check for the presence of Mono and revert to file only loading of references. This was due to limitations in xbuild support at the time of writing.

Now that xbuild is more mature hopefully this can be addressed.

Thanks to Don Syme for pointing me to this area

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top