The step list following:
1. From the "Build" menu, choose "Configurations".
2. Click "Add..." button, VC show "Add Project Configuration" dialog.
3. In the "Configuration" item, input "Release Debug Info". In the "Copy settings from" item, choose "XXX -- Win32 Release". and click "OK" button. (PS: XXX is project name)
4. In the "Build" menu, choose "Set Active Configurations", "Project configurations:" item choose "XXX -- Win32 Release". and click "OK" button.
4. From the "Project" menu, choose "Settings..", "Settings For:" item choose "Win32 Release Debug Info".
5 In the "C++" property page and "Category:" item is "General", "Debug info" item choose "C7 Compitable", "Optimization" item choose "Disable (Debug)".
,"_DEBUG" character string replaced "NDEBUG" character string in the "Preprocessor definition:" item.
6. In the "C++" property page and "Category:" item is "Code Generation", "Use runtime library:" item choose "Debug Multithreaded".
7. In the "Link" property page and "Category:" item is "General", item "Generate debug info" is checked.
8. In the "Link" property page and "Category:" item is "Debug", "Debug info" item is checked.
9. Click "OK" button, close "Project settings" dialog.
10. Rebuild All
1. From the "Build" menu, choose "Configurations".
2. Click "Add..." button, VC show "Add Project Configuration" dialog.
3. In the "Configuration" item, input "Release Debug Info". In the "Copy settings from" item, choose "XXX -- Win32 Release". and click "OK" button. (PS: XXX is project name)
4. In the "Build" menu, choose "Set Active Configurations", "Project configurations:" item choose "XXX -- Win32 Release". and click "OK" button.
4. From the "Project" menu, choose "Settings..", "Settings For:" item choose "Win32 Release Debug Info".
5 In the "C++" property page and "Category:" item is "General", "Debug info" item choose "C7 Compitable", "Optimization" item choose "Disable (Debug)".
,"_DEBUG" character string replaced "NDEBUG" character string in the "Preprocessor definition:" item.
6. In the "C++" property page and "Category:" item is "Code Generation", "Use runtime library:" item choose "Debug Multithreaded".
7. In the "Link" property page and "Category:" item is "General", item "Generate debug info" is checked.
8. In the "Link" property page and "Category:" item is "Debug", "Debug info" item is checked.
9. Click "OK" button, close "Project settings" dialog.
10. Rebuild All