-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
untriagedRequest triage from a team memberRequest triage from a team member
Description
Description
The .NET SDK 10.0.102 on macOS creates build output directories with literal backslash characters in the path names (e.g., bin\Debug instead of bin/Debug), causing Git to treat them as files with escaped characters rather than normal directory paths.
Reproduction Steps
- Install .NET SDK 10.0.102 on macOS (tested on macOS with Apple Silicon via both Microsoft installer and Homebrew)
- Create any .NET project:
dotnet new webapp - Build:
dotnet build - Check filesystem:
find bin -type d - Observe: Directories like
bin\Debug/net10.0/BuildHost-net472/exist with literal backslashes
Expected behavior
Directories should use forward slashes: bin/Debug/net10.0/
Actual behavior
Directories created with backslashes: bin\Debug/net10.0/
Environment
- OS: macOS Tahoe 26.2
- .NET SDK: 10.0.102
- Installation method: Both Microsoft installer and Homebrew reproduce the issue
Impact
Git cannot ignore these paths with standard .gitignore patterns, requires workaround using [\\] character class.
Metadata
Metadata
Assignees
Labels
untriagedRequest triage from a team memberRequest triage from a team member