I am using a standard operating environment that includes Visual Studio 2005 running on Windows XP.
The source for the solution is managed on Linux, but edited and compiled using Visual Studio on a Windows computer through a network share.
The problem I am facing is that if I change the output directory of some projects of my solution, Visual Studio automatically creates the directories, but they are always lowercase. The output files are case-sensitive, only directories are in lower case.
This causes problems for version control tools that are used on Linux that are picky about the case.
Is there a way to get Visual Studio 2005 to create directories in the right case? I examined the use of a pre-build script, which calls mkdirsince I found that it works, but seems cumbersome to embed pre-build scripts for each affected project.
I also thought that maybe this is the network layer that is causing problems, but if I temporarily installed the output directories on the local hard drive, the same thing will happen.
To update, there are actually two variables here $(TargetDir), which is essentially just a line version $(OutDir)or $(OutputDir)depending on the build phase. I just can't figure out how to change it or where it comes from.