From f11eb415930df830222ecb7c9e32a96f028648bd Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Sep 2025 16:47:43 +0000 Subject: [PATCH 1/3] Initial plan From 82810b175e682e6db5a104ab695e3dfca8d4921b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 3 Sep 2025 16:53:44 +0000 Subject: [PATCH 2/3] Add note that DOTNET_ADDITIONAL_DEPS only works with framework-dependent apps Co-authored-by: tdykstra <1569635+tdykstra@users.noreply.github.com> --- .../fundamentals/host/platform-specific-configuration.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/aspnetcore/fundamentals/host/platform-specific-configuration.md b/aspnetcore/fundamentals/host/platform-specific-configuration.md index 6b5ed4a0271c..bf7e617c8c77 100644 --- a/aspnetcore/fundamentals/host/platform-specific-configuration.md +++ b/aspnetcore/fundamentals/host/platform-specific-configuration.md @@ -5,7 +5,7 @@ description: Discover how to enhance an ASP.NET Core app from an external assemb monikerRange: '>= aspnetcore-2.1' ms.author: tdykstra ms.custom: mvc -ms.date: 09/26/2019 +ms.date: 01/03/2025 uid: fundamentals/configuration/platform-specific-configuration --- # Use hosting startup assemblies in ASP.NET Core @@ -336,6 +336,9 @@ deployment/additionalDeps/shared/Microsoft.AspNetCore.App/3.0.0/StartupDiagnosti For runtime to discover the runtime store location, the additional dependencies file location is added to the `DOTNET_ADDITIONAL_DEPS` environment variable. +> [!NOTE] +> The `DOTNET_ADDITIONAL_DEPS` environment variable only works with framework-dependent applications. This environment variable is ignored for self-contained applications. + 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. 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 For runtime to discover the runtime store location, the additional dependencies file location is added to the `DOTNET_ADDITIONAL_DEPS` environment variable. +> [!NOTE] +> The `DOTNET_ADDITIONAL_DEPS` environment variable only works with framework-dependent applications. This environment variable is ignored for self-contained applications. + 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. For examples of how to set environment variables for various operating systems, see [Use multiple environments](xref:fundamentals/environments). From 2e0ee6cb8e5052752163233f04b2ca00470eef73 Mon Sep 17 00:00:00 2001 From: Tom Dykstra Date: Fri, 5 Sep 2025 18:52:44 -0700 Subject: [PATCH 3/3] Update aspnetcore/fundamentals/host/platform-specific-configuration.md Co-authored-by: Wade Pickett --- aspnetcore/fundamentals/host/platform-specific-configuration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aspnetcore/fundamentals/host/platform-specific-configuration.md b/aspnetcore/fundamentals/host/platform-specific-configuration.md index bf7e617c8c77..db0b7626cf40 100644 --- a/aspnetcore/fundamentals/host/platform-specific-configuration.md +++ b/aspnetcore/fundamentals/host/platform-specific-configuration.md @@ -5,7 +5,7 @@ description: Discover how to enhance an ASP.NET Core app from an external assemb monikerRange: '>= aspnetcore-2.1' ms.author: tdykstra ms.custom: mvc -ms.date: 01/03/2025 +ms.date: 09/04/2025 uid: fundamentals/configuration/platform-specific-configuration --- # Use hosting startup assemblies in ASP.NET Core