开发者

Unload/unreference a referenced assembly from F# interactive

开发者 https://www.devze.com 2022-12-11 13:14 出处:网络
The F# Interactive (fsi.exe) has a directive to reference a given assembly: >#help;; [...] #r \"file.dll\";;Reference (dynamically load) the given DLL

The F# Interactive (fsi.exe) has a directive to reference a given assembly:

>#help;;
   [...]
   #r "file.dll";;        Reference (dynamically load) the given DLL
   [...]

I often like to unload/unreference previously referenced assemblies in order to recompile them. Is 开发者_高级运维that possible?

Edit: I'm running fsi under MacOSX and Mono - should be the same as from command line under windows.


You can right click and select Reset Session. But obviously this clears everything, not just your references.

0

精彩评论

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