From d78f8b9257e47235919e3228459a42389f7b9690 Mon Sep 17 00:00:00 2001 From: vitek-karas Date: Sat, 22 Sep 2018 12:34:40 -0700 Subject: [PATCH] PR feedback --- Documentation/design-docs/host-probing.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Documentation/design-docs/host-probing.md b/Documentation/design-docs/host-probing.md index 03f1e051d..9883c676c 100644 --- a/Documentation/design-docs/host-probing.md +++ b/Documentation/design-docs/host-probing.md @@ -47,7 +47,8 @@ The list of probing paths ordered according to their priority. First path in the * Framework directories If the app (or framework) has dependencies on frameworks, these frameworks are used as probing paths. The order is from the higher level framework to lower level framework. The app is considered the highest level, it direct dependencies are next and so on. - For assets from frameworks, only that framework and lower level frameworks are considered. + For assets from frameworks, only that framework and lower level frameworks are considered. + Note: These directories come directly out of the framework resolution process. Special note on Windows where global locations are always considered even if the app is not executed via the shared `dotnet.exe`. More details can be found in [Multi-level Shared FX Lookup](multilevel-sharedfx-lookup.md). * Shared store paths * `$DOTNET_SHARED_STORE/|arch|/|tfm|` - The environment variable `DOTNET_SHARED_STORE` can contain multiple paths, in which case each is appended with `|arch|/|tfm|` and used as a probing path. * If the app is executed through `dotnet.exe` then path relative to the directory with the `dotnet.exe` is used @@ -58,4 +59,7 @@ The list of probing paths ordered according to their priority. First path in the * Additional probing paths In these paths the `|arch|/|tfm|` string can be used and will be replaced with the actual values before using the path. * `--additionalprobingpath` command line arguments - * `additionalProbingPaths` specified in `.runtimeconfig.json` and `.runtimeconfig.dev.json` for the app and each framework (highest to lowest) \ No newline at end of file + * `additionalProbingPaths` specified in `.runtimeconfig.json` and `.runtimeconfig.dev.json` for the app and each framework (highest to lowest) + + + Note about framework-dependent and self-contained apps. With regard to probing the main difference is that self-contained apps don't have any framework dependencies, so all assets (including assemblies which normally come from a framework) are probed for in the app's directory. \ No newline at end of file