How to force MSBuild to run Code Analysis without recompiling

后端 未结 3 1527
刺人心
刺人心 2021-02-05 12:44

By default, code analysis is only done for projects which are compiled. So when I run MSBuild from the command line, it runs code analysis only for the first time. On subsequent

3条回答
  •  后悔当初
    2021-02-05 13:28

    Simply set CodeAnalysisGenerateSuccessFile to false in the project file.

    
      true
      false
    
    

提交回复
热议问题