$(MC2Root) variable

Hello,

I'd like to know where the $(MC2Root) variable is being defined in the MechCommander2 XNA Build project.

I couldn't find it in the global variable windows.

Thanks in advance for any help.

[221 byte] By [Izzz] at [2008-2-25]
# 1

That variable isn't part of the XNA Build project but a enviroment variable installed on your system. You can see it by:

Right click My Compuer and select properties
Select the Advanced Tab and hit the Enviroment Variables button at the bottom.

You should see it under the "System variables" section.

For some insight, MSBuild uses enviroment variables just like it does ones that are local to the project. It's pretty handy if you want to still work with something that could be configured differently on each persons machine.

MichaelKlucher-MSFT at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,Game Technolgies: XNA Build...