README

prettyvcproj: Usage: prettyvcproj.py "c:\path\to\vcproj.vcproj" [key1=value1] [key2=value2]

They key/value pair are used to resolve vsprops name.

For example, if I want to diff the base.vcproj project:

prettyvcproj.py z:\dev\src-chrome\src\base\build\base.vcproj "$(SolutionDir)=z:\dev\src-chrome\src\chrome\" "$(CHROMIUMBUILD)=" "$(CHROMEBUILDTYPE)=" > orignal.txt prettyvcproj.py z:\dev\src-chrome\src\base\basegyp.vcproj "$(SolutionDir)=z:\dev\src-chrome\src\chrome\" "$(CHROMIUMBUILD)=" "$(CHROMEBUILD_TYPE)=" > gyp.txt

And you can use your favorite diff tool to see the changes.

Note: In the case of base.vcproj, the original vcproj is one level up the generated one. I suggest you do a search and replace for '"..\' and replace it with '"' in original.txt before you perform the diff.