Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a #n directive to fsi which loads nuget packages #56

Closed
toburger opened this issue Jan 19, 2015 · 5 comments
Closed

Add a #n directive to fsi which loads nuget packages #56

toburger opened this issue Jan 19, 2015 · 5 comments

Comments

@toburger
Copy link

This was already discussed here, but the issue was closed with the note that it is already under review on UserVoice.
I would be very happy to get further information on the progress of this issue.

@dsyme
Copy link
Contributor

dsyme commented Jan 19, 2015

As @latkin has labelled, I think this is still a discussion/feature-request item. I'm not sure what @latkin and @KevinRansom want, but I personally think it is best to keep feature-requests off GitHub until a later stage (e.g. they are "approved" or a concrete design is available or an implementation pull request is available). Equally, I may be wrong, especially if good labelling is used. Ultimately it's up to the @latkin and @KevinRansom as current masters of the repo :)

@dsyme dsyme removed the discussion label Apr 14, 2016
@smoothdeveloper
Copy link
Contributor

Relevant ticket: #1177

If this get implemented, as @dsyme described in a comment it would better be based on custom handlers and some type of URI scheme so it can be extended.

@enricosada
Copy link
Contributor

It's possibile to add to fsi as cli parameter the name/assembly of a resolver? Using an external assembly resolver, there is no need to add special use case inside fsi (paket, nuget, etc).
Or as internal fsi command #resolver "path/to/resolver.dll
So #r "suave" is resolved by custom resolver, who can for example download the nuget package or use it from paket.

@smoothdeveloper
Copy link
Contributor

@enricosada yes with @dsyme idea we won't have special case for nuget, paket etc.

His idea:

#r "references:nuget-handler.dll"  // specially attributed DLL
#r "SomeNugetPackage"

But we can refine.

What your propose about command line argument is an important point and I agree having possibility to reference the handler from there, and maybe also having fsi scan a folder with additional handlers would be great!

@dsyme
Copy link
Contributor

dsyme commented Jun 22, 2017

Closing as suggestion is tracked by fsharp/fslang-suggestions#542

@dsyme dsyme closed this as completed Jun 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants