Skip to content

Commit 6f814e4

Browse files
Copilottdykstrawadepickett
authored
Add note that DOTNET_ADDITIONAL_DEPS only works with framework-dependent applications (#36038)
* Initial plan * Add note that DOTNET_ADDITIONAL_DEPS only works with framework-dependent apps Co-authored-by: tdykstra <[email protected]> * Update aspnetcore/fundamentals/host/platform-specific-configuration.md Co-authored-by: Wade Pickett <[email protected]> --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: tdykstra <[email protected]> Co-authored-by: Tom Dykstra <[email protected]> Co-authored-by: Wade Pickett <[email protected]>
1 parent a71d134 commit 6f814e4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

aspnetcore/fundamentals/host/platform-specific-configuration.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Discover how to enhance an ASP.NET Core app from an external assemb
55
monikerRange: '>= aspnetcore-2.1'
66
ms.author: tdykstra
77
ms.custom: mvc
8-
ms.date: 09/26/2019
8+
ms.date: 09/04/2025
99
uid: fundamentals/configuration/platform-specific-configuration
1010
---
1111
# Use hosting startup assemblies in ASP.NET Core
@@ -336,6 +336,9 @@ deployment/additionalDeps/shared/Microsoft.AspNetCore.App/3.0.0/StartupDiagnosti
336336

337337
For runtime to discover the runtime store location, the additional dependencies file location is added to the `DOTNET_ADDITIONAL_DEPS` environment variable.
338338

339+
> [!NOTE]
340+
> The `DOTNET_ADDITIONAL_DEPS` environment variable only works with framework-dependent applications. This environment variable is ignored for self-contained applications.
341+
339342
In the sample app (*RuntimeStore* project), building the runtime store and generating the additional dependencies file is accomplished using a [PowerShell](/powershell/scripting/overview) script.
340343

341344
For examples of how to set environment variables for various operating systems, see [Use multiple environments](xref:fundamentals/environments).
@@ -722,6 +725,9 @@ deployment/additionalDeps/shared/Microsoft.AspNetCore.App/2.1.0/StartupDiagnosti
722725

723726
For runtime to discover the runtime store location, the additional dependencies file location is added to the `DOTNET_ADDITIONAL_DEPS` environment variable.
724727

728+
> [!NOTE]
729+
> The `DOTNET_ADDITIONAL_DEPS` environment variable only works with framework-dependent applications. This environment variable is ignored for self-contained applications.
730+
725731
In the sample app (*RuntimeStore* project), building the runtime store and generating the additional dependencies file is accomplished using a [PowerShell](/powershell/scripting/overview) script.
726732

727733
For examples of how to set environment variables for various operating systems, see [Use multiple environments](xref:fundamentals/environments).

0 commit comments

Comments
 (0)