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

Consider creating and publishing a package for FrameworkReference resolution #28364

Open
baronfel opened this issue Oct 6, 2022 · 0 comments
Assignees
Labels
Area-NetSDK untriaged Request triage from a team member

Comments

@baronfel
Copy link
Member

baronfel commented Oct 6, 2022

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)

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-NetSDK untriaged Request triage from a team member labels Oct 6, 2022
@baronfel baronfel changed the title Consider creating and publishing a package for Framework resolution Consider creating and publishing a package for FrameworkReference resolution Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-NetSDK untriaged Request triage from a team member
Projects
None yet
Development

No branches or pull requests

2 participants