if in VC++

Menu > Build > Set Active Configuration

chose release