From f6bb473d9fbc6ca055beaf3ae668da07ad95ba3a Mon Sep 17 00:00:00 2001 From: "Brandon Waterloo [MSFT]" <36966225+bwateratmsft@users.noreply.github.com> Date: Tue, 27 Oct 2026 09:58:31 -0400 Subject: [PATCH] Ensure ASP.NET HTTPS certificate export directory exists Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .../vscode-containers/src/debugging/netcore/AspNetSslHelper.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/extensions/vscode-containers/src/debugging/netcore/AspNetSslHelper.ts b/extensions/vscode-containers/src/debugging/netcore/AspNetSslHelper.ts index 9d438a9d7..987af057b 100644 --- a/extensions/vscode-containers/src/debugging/netcore/AspNetSslHelper.ts +++ b/extensions/vscode-containers/src/debugging/netcore/AspNetSslHelper.ts @@ -150,6 +150,7 @@ async function exportCertificateAndSetPassword(projectFile: string, certificateE withNamedArg('-ep', certificateExportPath, { shouldQuote: true }), withNamedArg('-p', password, { shouldQuote: true }), )(); + await fse.ensureDir(path.dirname(certificateExportPath)); await execAsync('dotnet', exportArgs); // Set the password to dotnet user-secrets