Skip to content

Conversation

@waldekmastykarz
Copy link
Collaborator

Fixes starting proxy with -e. Closes #1482

Copilot AI review requested due to automatic review settings December 27, 2025 18:22
@waldekmastykarz waldekmastykarz requested a review from a team as a code owner December 27, 2025 18:22
@waldekmastykarz waldekmastykarz added the pr-bugfix Fixes a bug label Dec 27, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug (#1482) where starting Dev Proxy with the -e (environment variables) flag would fail due to conflicts between ASP.NET Core's built-in command-line configuration provider and Dev Proxy's System.CommandLine parser.

Key changes:

  • Removed args parameter from BuildApplication method and its call to WebApplication.CreateBuilder()
  • Added clear documentation explaining why command-line args should not be passed to the ASP.NET Core builder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-bugfix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Starting Dev Proxy with -e throws an exception

2 participants