Case sensitive folders breaks builds! #349

Closed
opened 2026-01-30 21:49:38 +00:00 by claunia · 1 comment
Owner

Originally created by @bitcrazed on GitHub (Aug 20, 2018).

Originally assigned to: @bitcrazed on GitHub.

The problem

When building projects under this repo, if any of the folders are case sensitive, errors during build may be reported, e.g.:

c1xx : fatal error C1083: Cannot open source file: 'stdafx.cpp': No such file or directory [C:\dev\microsoft\console\samples\ConPTY\EchoCon\EchoCon\Ech
oCon.vcxproj]

Workaround

From an elevated PowerShell instance, disable folder case sensitivity using fsutil.exe against each of the folders in this repo:

ls -Path .\console\ -Directory -Recurse | %{fsutil file setCaseSensitiveInfo $_.fullname disable}
Originally created by @bitcrazed on GitHub (Aug 20, 2018). Originally assigned to: @bitcrazed on GitHub. ## The problem When building projects under this repo, if any of the folders are case sensitive, errors during build may be reported, e.g.: ``` c1xx : fatal error C1083: Cannot open source file: 'stdafx.cpp': No such file or directory [C:\dev\microsoft\console\samples\ConPTY\EchoCon\EchoCon\Ech oCon.vcxproj] ``` ## Workaround From _**an elevated PowerShell instance**_, disable folder case sensitivity using `fsutil.exe` against each of the folders in this repo: ``` powershell ls -Path .\console\ -Directory -Recurse | %{fsutil file setCaseSensitiveInfo $_.fullname disable} ```
claunia added the Resolution-External label 2026-01-30 21:49:38 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Aug 20, 2018):

As discussed offline, this is an issue with MsBuild and case-sensitive directories/projects. Because this isn't really specific to this repo or the console, we're closing this issue as an external issue that should be brought up with the msbuild team.

@zadjii-msft commented on GitHub (Aug 20, 2018): As discussed offline, this is an issue with MsBuild and case-sensitive directories/projects. Because this isn't really specific to this repo or the console, we're closing this issue as an external issue that should be brought up with the msbuild team.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#349