I have a solution with several projects. Some C++ files are used in multiple
projects that have different Preprocessor definitions. The Editor seems to
use the definitions of the first project (?) to set the coloring. Thus some
code is greyed out when it shouldn't be. Whose bug is this?
/steveA

Signature
Steve Alpert
my email fgrir.nycreg @ tr.pbz is encrypted with ROT13 (www.rot13.org) and
spaces
> I have a solution with several projects. Some C++ files are
> used in multiple
[quoted text clipped - 3 lines]
> coloring. Thus some
> code is greyed out when it shouldn't be. Whose bug is this?
I think that VS uses defenitions of currently active project.
HTH
Alex
steveA - 21 Feb 2008 14:04 GMT
> > I have a solution with several projects. Some C++ files are
> > used in multiple
[quoted text clipped - 8 lines]
> HTH
> Alex
That's what I would have thought also but it doesn't appear to. In fact, if
I edit the condition on a #if, the coloring momentarily changes to dark and
then goes back to grey! This solution originally came from vs2003 (from VC6)
so I don't know if there is some vestige in the sln and vcproj files that is
causing this.
/steveA