-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
hostfxr_resolve_frameworks_for_runtime_config
for resolving run…
…time frameworks (#101451) - `hostfxr_resolve_frameworks_for_runtime_config` provides a way to run the host's runtime framework resolution in an isolated manner - Return code indicates basic success/failure and the optional callback can be used for additional information about what was or was not resolved - For framework-dependent, runs through framework resolution and propagates the result - Currently `unresolved_count` will always either be 0 or 1 - the host stops at the first failed resolution - For self-contained, any `includedFrameworks` per the runtime config are treated as resolved to the app's directory - Add tests to `NativeHostApis` tests and update `HostApiInvokerApp` test asset to exercise new API - Update tests to stop copying hostfxr next to the app - pass in the paths via runtime config and make the test app resolve the load via DllImportResolver
- Loading branch information
1 parent
0235164
commit c93ee68
Showing
11 changed files
with
753 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.