Is there a way to get a IVsBuildMacroInfo for a VC++ project in order to evaluate project properties/macros?
I know for a C# project you can cast the IVsHierarchy for a project to IVsBuildMacroInfo but this doesn't work for a VC++ project.
I also know that VCConfiguration.Evaluate can be used for similar functionality in a VC++ project. A drawback to this though is that I have an extension that works for multiple versions of Visual Studio and the VCProjectEngine COM interfaces are re-GUID'd for each version of Visual Studio.
It seems that if IVsBuildMacroInfo is supported somehow for VC++ projects that would be the best option. Alternatively, are there other good options for evaluating project properties/macros in a VC++ project that work across multiple
versions of Visaul Studio?