-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Implement #r "nuget:..." #5654
Comments
See #5653 |
I essentially proposed a flavor of this in F# suggestions, but building on the awesome dotnet core nuget integration. It would seriously help with Azure Functions. I think it is time to look at this again. cc @tmat @filipw |
So this is still not done? |
It's a community standalone package at the moment, you can plug it into Roslyn if you need. See |
@filipw I'm looking at |
From #5653 (comment):
That comment was written in October 2015. More than two years has passed and we still don't have this, IMHO, essential feature. I see that 8 days ago, it was removed from the 15.6 milestone (I was excited to see it on that milestone) and moved to "unknown". Is there a reason this keeps getting postponed (2 years and counting). I believe the ability to reference NuGet packages is they key to truly unlock .NET scripting into being generally useful. |
I agree. NuGet provides an excellent extensibility model for scripting and makes bootstrapping all the requirements for a script much, much easier. |
Is this ever going to make into a release or was this dropped permanently? |
With C# 9 removing so much boiler plate from console apps, a console app is getting much closer to resembling a "script". If we added this feature to C# proper (not just some "scripting" variant) then all that is left is to do is add defaults for a couple more properties in
...and then, in the simple case, we can skip |
this will be like the transition from nodejs with its package.json to deno with embedded import statements and single file executable! |
Implement NuGetPackageResolver.
The text was updated successfully, but these errors were encountered: