Repository navigation
Create the ASP.NET HTTPS certificate export directory if missing - #641
Merged
Brandon Waterloo [MSFT] (bwateratmsft) merged 1 commit intoOct 27, 2026
Merged
Brandon Waterloo [MSFT] (bwateratmsft) merged 1 commit into
Brandon Waterloo [MSFT] (bwateratmsft) merged 1 commit into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Brandon Waterloo [MSFT] (bwateratmsft)
requested a review
from a team
as a code owner
October 27, 2026 13:59
Copilot started reviewing on behalf of
Brandon Waterloo [MSFT] (bwateratmsft)
October 27, 2026 14:00
Brandon Waterloo [MSFT] (bwateratmsft)
enabled auto-merge (squash)
October 27, 2026 14:01
Patrick Verbrugge (patverb)
approved these changes
Oct 27, 2026
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
No blocking issues were identified, but repository guidance reserves final approval for a human maintainer.
No open issues 🎉
What changed in this PR
Fixes #640 by ensuring the ASP.NET development certificate export directory exists before certificate export during SSL-enabled .NET container debugging.
Changes:
- Awaits parent-directory creation before invoking
dotnet dev-certs. - Leaves existing directories unchanged and propagates directory-creation failures.
Verdict: Human maintainer approval required; no blocking issues identified.
| File | Description |
|---|---|
extensions/vscode-containers/src/debugging/netcore/AspNetSslHelper.ts |
Ensures the certificate export directory exists before export. |
Review effort: Balanced
Brandon Waterloo [MSFT] (bwateratmsft)
deleted the
bwateratmsft-aspnet-ssl-debugging
branch
October 27, 2026 14:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖
Summary
Ensure the parent directory of the ASP.NET development certificate export path exists before running
dotnet dev-certs https -ep ... -p ....This prevents SSL-enabled .NET container debugging from failing with exit code 3 on hosts where the certificate export directory has not yet been created. Existing directories are left unchanged, and directory creation failures propagate normally.
Fixes #640.
Validation
%APPDATA%\ASP.NET\Httpsdid not exist.