开发者

mono path for F# installation

I have mono and f# installed and running under linux but wanted to move the directory of the f# installation. The problem is that, when run with mono, the f# compiler still refers to the old directory. Hence it does not find any dlls and w开发者_运维问答hen compiling anything, gives an error like

 error FS0078: Unable to find the file 'FSharp.Core.dll' in any of     
 /usr/lib/mono/2.0   
 /current/directory   
 /old/path/of/FSharp-2.0.0.0/bin

Since I start the compiler with everything referring to the new path I think mono still refers to the old installation path at some point, but I could not find where. Adding the new path to the MONO_PATH env and updateing the FSHARP_COMPILER_BIN evn to the new path also did not help. Is there an easy way to change the F# path so the compiler finds it again?


Did you try rerunning the install-mono.sh script? - that should reinstall everything to the GAC with the new location.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜