Skip to content

Conversation

dsplaisted
Copy link
Member

@dsplaisted dsplaisted commented Oct 3, 2025

See #51067. The .ps1 script prevents the CLI from correctly processing --. So we'll remove the script, This will regress to the "terminate batch job" behavior described in #49623, but that's better than incorrectly processing command line arguments.

Description

Removes dnx.ps1 helper script.

Customer impact

Fixes processing of -- when calling dnx from PowerShell.
Brings back "Terminate Batch Job" prompt when CTRL+C is pressed, but this is preferrable to incorrectly processing the command line.

Regression

dnx is new in .NET 10. This was a regression from a previous preview release.

Risk

Low

@baronfel
Copy link
Member

baronfel commented Oct 3, 2025

/ba-g GenerateBundle known issue

@baronfel
Copy link
Member

baronfel commented Oct 3, 2025

This LGTM but we need to get Tactics approval

@baronfel
Copy link
Member

baronfel commented Oct 3, 2025

@dotnet/dotnet-docker-admin this PR would remove the dnx.ps1 file due to negative user impacts - it looks like this file is part of the Windows containers - how much work is it to clean it up there?

@lbussell
Copy link
Contributor

lbussell commented Oct 3, 2025

@dotnet/dotnet-docker-admin this PR would remove the dnx.ps1 file due to negative user impacts - it looks like this file is part of the Windows containers - how much work is it to clean it up there?

It's easy to remove it. dotnet-docker's PR validation should fail whenever the change flows in, at which point we can just revert the change.

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

Successfully merging this pull request may close these issues.

3 participants