unify #r nuget behavior between C# and F#
See original GitHub issueThe #r nuget
behavior and capabilities are different between C# and F#, with F#'s features being more developed. C# currently only supports specifying package id and version. F# supports other parameters such as a package feed (RestoreSources
).
Unlike the current C# code, the F# semantics allow for multiple #r nuget
statements to aggregate parameters, e.g.
#r "nuget:bl=true"
#r "nuget:RestoreSources=https://dotnet.myget.org/F/dotnet-corefxlab/api/v3/index.json"
#r "nuget:Microsoft.ML,version=1.4.0-preview"
#r "nuget:Microsoft.ML.AutoML"
#r "nuget:Microsoft.Data.DataFrame,version=0.1.1-e191008-1"
This behavior should be added to C#.
In terms of naming, parameter naming seems to draw from several sources in an inconsistent manner, e.g. in the example above bl
is an MSBuild command line parameter, RestoreSources
is an MSBuild property, version
is shared with the dotnet
CLI. We should consider making these consistent and hopefully more predictable and easier to remember.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
unify #r nuget behavior between C# and F# · Issue #45
The #r nuget behavior and capabilities are different between C# and F#, with F#'s features being more developed. C# currently only supports ...
Read more >Common NuGet configurations
NuGet.Config files control NuGet's behavior, and can be modified with nuget config command.
Read more >Creating one NuGet package from multiple projects in ...
I have a solution that I'm working on that contains 4 class library projects ( A , B , C , D )....
Read more >com.csutil.cscore 1.8.10
cscore is a lightweight library providing commonly used helpers & patterns for both your pure C# and Unity projects. Fewer 3rd party libraries...
Read more >Unified Agent Configuration Parameters
This page describes the parameters used in the Unified Agent's configuration. ... C#. NuGet. For more information regarding NuGet integration, refer here.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I didn’t manage to make custom repository work with C#.
It still tries to load from Nuget.
Latest version of dotnet-try with Jupyter lab 1.1.4
Merged: https://github.com/dotnet/interactive/pull/239