[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 460
  • Last Modified:

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?
1 Solution
evilrixSenior 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.

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now