Msbuild on Dockerfile is producing all the files in lowercase

Hi Team,

As part of the the Dockerfile, I am executing Msbuild command to build a project but this msbuild is always publishing the files in lowercase letters. The same msbuild command is working fine in my local windows machine.
Can anyone please help on this. Attaching the screenshot for the same.

I don’T know anything about msbuild, build, but this seems to be application specific possibly related to the operating system and the differences of the filesystems. On Windows, filenames are case-sensitive, while on Windows files are case-insensitive. Docker will not change your files. For mor ehelp, please share more details about your environment (versions) and how you installed Docker exactly.

Hi,
Thanks for your reply. I went through few articles where it says dockerfiles does not worry about case sensitivity, do we have any way to enable the case sensitivity on docker files. Even all the files that are getting deployed to container are also seems to be in lowercase.

A Dockerfile is just a way to describe the instructions you want to execute in order to build an image. It will not affect how an operating system handles filenames.