diff --git a/docs/core/dependency-loading/default-probing.md b/docs/core/dependency-loading/default-probing.md index 00cd01190ba19..e3022eb63482e 100644 --- a/docs/core/dependency-loading/default-probing.md +++ b/docs/core/dependency-loading/default-probing.md @@ -32,6 +32,11 @@ Additionally, the *\*.deps.json* files for any referenced frameworks are similar The environment variable `DOTNET_ADDITIONAL_DEPS` can be used to add additional dependencies. `dotnet.exe` also contains an optional `--additional-deps` parameter to set this value on application startup. +> [!NOTE] +> The `DOTNET_ADDITIONAL_DEPS` environment variable and the `--additional-deps` command-line option only apply to **framework-dependent applications**. +> These options are **ignored for self-contained applications**. +> For more information, see [Framework-dependent vs self-contained deployments](../deploying/index.md). + The `APP_PATHS` property is not populated by default and is omitted for most applications. The list of all *\*.deps.json* files used by the application can be accessed via `System.AppContext.GetData("APP_CONTEXT_DEPS_FILES")`.