Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unload/unreference a referenced assembly from F# interactive

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.

like image 707
Johan Kullbom Avatar asked Nov 17 '09 20:11

Johan Kullbom


1 Answers

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

like image 110
wethercotes Avatar answered Sep 30 '22 04:09

wethercotes