请问如何将项目设成release方式?
我在项目—setting中设置
但是设置成release后,一点击确定按钮后
再回去看
还是debug方式
请问如何解决,谢谢!

解决方案 »

  1.   

    build-》Set Active Config..
      

  2.   

    菜单build-》Set Active Configuration
      

  3.   

    After I set the project I found another error error C2855: command-line option '/Gi' inconsistent with precompiled header
    error C2855: command-line option '/Gi' inconsistent with precompiled header
    error C2855: command-line option '/Gm' inconsistent with precompiled header在#include "stdafx.h"这条语句的前面
      

  4.   

    Build -> Rebuild All
      

  5.   

    Compiler Error C2855
    command-line option 'option' inconsistent with precompiled headerThe given command-line option differed from that given when the precompiled header (.PCH) was created.This error can be avoided by regenerating the precompiled header with the given command-line option.