Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions docs/core/dependency-loading/default-probing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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")`.
Expand Down