title: How can one globally define a variable in a visual studio 2010 solution?
body: <p>Is there any way one can define for a solution a global variable accessable by any project file or project property sheet included in the solution?</p>
  
  <p>One variable is enough if that can define a path for a property sheet that every project can include.</p>
  
  <p>This is desirably for a solution.
  An environment variable would be ok though less desirable.</p>
  
  <p>*<em>*</em> (visual studion 2010)</p>
  
  <p>Poking at it again, I can't see how to set a user defined $(xxx) vartiable in a project - yes you can in a property sheet, but In a project I have reference to the $(ProjectDir) -</p>
  
  <p>The problem is I want to define a $(tree of projects root) that any project that references a specific poject can access and the root will be relative to that project.</p>
  
  <p>An alternative would be if a property sheet can have access to its own path and define the project collection root (of a tree of related projects with common resources) relative to that.</p>
  
  <p>It seems every one building a big system with VS has the same problem.</p>