title: Using COM DLLs with FSI
body: <p>Is there a way within FSI that I can reference and use registered COM components?</p>
  
  <p>In a normal .fs compiled program I can simply reference the component in question and then open the relevant generated namespace(s).  In a .fsx file, however, I can't seem to replicate this behaviour. I have tried using #r to reference the .dll directly, and I have tried using #I to point to the directory followed #r both with the library's "friendly" name and the file name, but nothing seems to work.</p>
  
  <p>Are you only able to reference .NET assemblies from a .fsx?  I don't really want to have to write/gen a wrapper assembly.  I am hoping there might be a way to force FSI to take whatever steps the normal executable takes in order to provide the interop layer.</p>