Skip to content

Commit b3e167f

Browse files
Update default-probing.md (#50134)
* Update default-probing.md * Apply suggestions from code review * Fix formatting of note on additional dependencies --------- Co-authored-by: Meaghan Osagie (Lewis) <[email protected]>
1 parent e45d580 commit b3e167f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/core/dependency-loading/default-probing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ Additionally, the *\*.deps.json* files for any referenced frameworks are similar
3232

3333
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.
3434

35+
> [!NOTE]
36+
> The `DOTNET_ADDITIONAL_DEPS` environment variable and the `--additional-deps` command-line option only apply to **framework-dependent applications**.
37+
> These options are **ignored for self-contained applications**.
38+
> For more information, see [Framework-dependent vs self-contained deployments](../deploying/index.md).
39+
3540
The `APP_PATHS` property is not populated by default and is omitted for most applications.
3641

3742
The list of all *\*.deps.json* files used by the application can be accessed via `System.AppContext.GetData("APP_CONTEXT_DEPS_FILES")`.

0 commit comments

Comments
 (0)