Debug.Assert Appears in Release Mode

后端 未结 6 2013
北海茫月
北海茫月 2021-01-07 21:40

We all know that Debug.Assert will not be compiled into the dlls when compiled in release mode. But for some reason Debug.Assert did appea

6条回答
  •  無奈伤痛
    2021-01-07 22:14

    Have you checked the Project File? Define constants should NOT contain DEBUG

    
        pdbonly
        true
        bin\Release\
        TRACE
        prompt
        4
      
    

提交回复
热议问题