可以project->Set Active Config,选中release版本。此后,按F5或F7编译所得的结果就是release版本。
按alt+F7 在Settings for 选Win32Release
build->batch build选中win32 release点build