I want to programatically get a project output directory in a Visual Studio macro.
I managed to get a string of the path (through prj.ConfigurationManager.ActiveConfiguration.Properties
and looking at property OutputDirectory
) but this string may contain macros such as $(foo) where foo is defined in a property sheet or whatnot.
我如何解决该产出目录上的实际目录?