From 514a3e2492309c75873277e6d625cc81a65026b6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 15 Jan 2026 22:26:13 +0000 Subject: [PATCH 1/2] Initial plan From 46b4b59938d055b5fd8aa726bffaf0ff843e7a35 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 15 Jan 2026 23:58:36 +0000 Subject: [PATCH 2/2] Update DeveloperCertificateService to use AppHost:Directory from configuration Co-authored-by: danegsta <50252651+danegsta@users.noreply.github.com> --- src/Aspire.Hosting/DeveloperCertificateService.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Aspire.Hosting/DeveloperCertificateService.cs b/src/Aspire.Hosting/DeveloperCertificateService.cs index 4ba2ecd5cea..315e461fbc2 100644 --- a/src/Aspire.Hosting/DeveloperCertificateService.cs +++ b/src/Aspire.Hosting/DeveloperCertificateService.cs @@ -97,8 +97,7 @@ public DeveloperCertificateService(ILogger logger, var trustLocation = "your project folder"; try { - var appHostPath = options.AppHostFilePath; - var appHostDirectory = !string.IsNullOrWhiteSpace(appHostPath) ? Path.GetDirectoryName(appHostPath) : null; + var appHostDirectory = configuration["AppHost:Directory"]; if (!string.IsNullOrWhiteSpace(appHostDirectory)) { trustLocation = $"'{appHostDirectory}'";