No, you cannot (as if it is AutoCAD script or LISP). It must be compiled as .NET DLL and be NETLOADed. After all, F# is a .NET language, in spite is functional nature. The only place you can use like a script (enter a or more line of code and execute immediately), AFAIK, in the F# interactive window in VS, which would not be useful in your case.