For the command-line compiler: You need to use -I to include directories in the assemblies search path. Then you can reference assemblies by just there file name, alternatively you can use the full path. This is fairly standard for .NET compiles.

Before the CTP the toplevel (fsi) had exactly same semantics as the compiler, but now you can reference assemblies in the gac using the "assembly name" (i.e. the thing that inculdes the version key etc.), you can also use the short name which is basically just the filename with out the dll bit. Someone wrote a blog post explaining this, but I can't find it (I think it was Chris Smith or Brian's Inside F#).

Cheers,

Rob

By on 11/19/2008 12:33 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper