We are facing a somewhat awkward problem with our automated build system:
On the various agents comprising this system we have multiple versions of the compiler installed under Visual Studio and we want to be able to select the compiler that will be used. We can log on to the system, select the compiler to the one we want and have the build run. However, the build system uses a different account for the actual build, so that the selection defaults to the most recent compiler instead.
My question: is there a way to select the compiler to use without starting the Visual Studio user-interface? For instance a command-line option or an environment variable?