-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Is your feature request related to a problem? Please describe.
Interactive tools like REPLs (for example dotnet fsi) often want to use dlls from a given Framework when working in an interactive mode. They also typically need to resolve FrameworkReferences for the 'baseline' Microsoft.NETcore.App to have a minimum level of functionality. Right now these resolutions are often ad-hoc, finding the SDK directory in use and doing relative pathing. This is fragile to resolution changes in future SDKs.
Describe the solution you'd like
It would be great if the logic in the FrameworkResolution targets was consumable in another form, so that custom FrameworkReference resolution logic that may be duplicated in other projects could be centralized and made consistent.
Additional context
An example use case can be found at dotnet/fsharp#13969 (comment)