Is there a better way to reference the assembly of an F # project from a script?

Possible duplicate:
F # / C # - fsx Script Files and project links

I moved some F # files to another project, and now the links to them from F # Script look pretty ugly. Here is what I needed to do to reference the assembly "MyLib.dll":

// Note: not working! // #r "MyLib.dll"

// Awful!

r ".. \ MyLib \ bin \ Debug \ MyLib.dll"

I tried to add a reference path to the project settings, but that didn't help either. Of course, the MyLib.dll assembly is added to my assemblies referenced by the projects, but it looks like FSX Script, in fact it doesn’t matter - I have to list the assemblies in the Script file using their absolute or relative path.

Is it design or is there a better way?

+2

All Articles