-
Notifications
You must be signed in to change notification settings - Fork 525
Description
I noticed paket has excellent support for transitive dependencies.
When I'm doing F# scripting, I rely on assemblies located in packages, but I always have to reference explicitly the transitive dependencies, at least when public members I'm trying to use expose types from those.
It would be great if paket could generate (maybe an option in paket.dependencies) script files for including the packages' assemblies with it's transitive dependencies.
Here is a simple example
#r "packages/MBrace.Thespian/lib/net45/MBrace.Thespian.dll"
open MBrace.Thespian. // autocomplete at this point says I need to reference some other assemblyWhen, I do that, I have to add references to MBrace.Runtime, etc.
Instead, I'd like to do this:
#load "packages/include-scripts/MBrace.Thespian.fsx"and be ready for happy scripting experience, even when transitive dependencies changes, etc.
It also simplifies a lot simple references as I don't have to lookup the exact location of assemblies.
To play nice with C# .csx users, identical .csx files could also be generated.