This commit is contained in:
vitek-karas 2018-09-22 12:34:40 -07:00
Родитель 981366fc8d
Коммит d78f8b9257
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -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)
* `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.