www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Build errors and VS Macros for Build Commands

I've been playing around with VS Macros trying to step away from 
explicit declarations of library locations. I'm using a google 
repository as I would like to be able to work on projects either 
at my desktop or laptop without having to worry about specific 
library path locations.

I tried using a macro like $(SolutionDir) or $(ProjectDir) to 
specify the current location of the projects but I keep getting 
this error when building:

------ Build started: Project: STDSU, Configuration: Debug Win32 
Building Debug\STDSU.exe...
Error: cannot read file C:\Users\CP\Documents\Visual.d
Building Debug\STDSU.exe failed!
Details saved as "file://C:\Users\CP\Documents\Visual Studio 
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped 

However, if I specify a library location explicitly it all 
compiles just fine.

If the location of my VS solution was:
C:\Users\CP\Documents\Visual Studio 2010\Projects\D\STDS

I would assume $(SolutionDir) would be equivalent.

What am I missing?
Mar 15 2012