-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
Description
Is there any API to programmatically resolve a shared framework's location? I found an API for resolving SDKs (hostfxr_resolve_sdk2), but no equivalent for shared frameworks.
Scenarios
The scenarios I had in mind for this API are:
- Create tools which can identify which shared framework would be loaded, and if compatible framework is found, alert the user that it will be necessary to install a shared framework.
- Be able to write an assembly load context to workaround this limitation: https://github.com/dotnet/core-setup/blob/90ba7b628ff397caa35c50e8ecbf50f96308d1c3/Documentation/design-docs/host-component-dependencies-resolution.md#frameworks-handling