We have an (admittedly bad) requirement to reference assemblies in the C:\Program Files\... folder in a web application as part of our build. We have .refresh files in place to copy those assemblies into our project.
The problem is that one of our developers has his Windows installed to the E:\ drive. On his sysetm the relative path, of course breaks. We tried using the %PROGRAMFILES% environment variable, but VS9 apparently does not resolve environment variables in .refresh files.
It's hard to say if this is a bug or an enhancement, since there is no documentation stating that environment variables will work, but it is a common expectation that they would.