dotnet / dotnet/msbuild

forceConsistentCasingInFileNames TypeScrypt equivalent for dotnet

Open
#11,456 2 comments 2 reactions 0 assignees View on GitHub
Area: NetSDK BuildCheck Suggestion Priority:2 triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

### Is your feature request related to a problem? Please describe.

Dotnet core is a cross-platform language, and increasingly we have teams with different operating systems.

On windows the filesystem is not case sensitive while on *nix it is, and this for dotnet build is a problem.

If on the filesystem for example we have the project `Foo.Bar.Lib/Foo.Bar.Lib.csproj` by another project as follows.

```xml




```

This on windows compiles while on Linux it does not.

### Describe the solution you'd like

An option like [forceConsistentCasingInFileNames](https://www.typescriptlang.org/tsconfig/#forceConsistentCasingInFileNames) in TypeScript would be useful.

### Additional context

In my case many developers are on windows, the CI has windows agents, and running the developers' local environment has docker components.

Result: local build and ci build succeeds while there are build errors by launching docker build.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.