Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Dec 21, 2025

Backport of #52110 to release/10.0.1xx

/cc @baronfel @jjonescz

Description

Fixes a bug where dotnet run file.cs file.cs didn't parse correctly the second file.cs as an argument for the file-based app (instead it was ignored). Note that dotnet run file.cs anything-else-than-file.cs already parses correctly, it's just the edge case where the argument matched the file path that was broken.

Customer impact

This was reported by a customer as an issue on GitHub.

Regression

No, as far as I know this didn't work since dotnet file.cs support was introduced.

Risk

Low. A simple change with narrow impact. Unit test coverage.

@jjonescz jjonescz merged commit 17a7549 into release/10.0.1xx Dec 22, 2025
26 of 27 checks passed
@jjonescz jjonescz deleted the backport/pr-52110-to-release/10.0.1xx branch December 22, 2025 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-run-file Items related to the "dotnet run <file>" effort Servicing-approved

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants