Visual Studio 2005 and Windows 7

Does anybody know how Visual Studio 2005 determines what directory to run the compilation (cl command) in. I have put a pre-build step into my project that does a "dir" command and I notice that the directory where the build is running is different on Windows Server 2003 than it is on a Windows 7 machine. This strikes me as odd, does anyone know anything about this?
Who is Participating?
evilrixConnect With a Mentor Senior Software Engineer (Avast)Commented:
Off the top of my head (I no longer have Visual Studio installed anywhere to test) I'm pretty sure it's the solution directory that it uses as it's base directory.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.