PDA

View Full Version : Generate pdb with Make VS 2005


AVR
06-15-2009, 12:51 PM
Is there a way to access the 'Advanced' build property of a Visual Studio project to generate .pdb files while doing a build ?

Thanks.

kinook
06-15-2009, 01:29 PM
For a VC 2005 project, the Debug Information Format setting is found in the DebugInformationFormat="n" attribute of the .vcproj file, where n is:

0 = Disabled
1 = C7 Compatible (/Z7)
2 = Program Database (/Zi)
3 = Program Database for Edit and Continue (/ZI)

You could use the Replace in File action to update this setting.
http://www.kinook.com/VisBuildPro/Manual/filereplaceaction.htm