Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
必须有简单的方法,我不想在每个项目上单独运行代码分析。
抱歉之前的愚蠢回应......这就是你真正要做的:)
将每个项目设置为在构建时运行代码分析:
构建解决方案时,它将在每个项目上运行 CA
我编写了一个自定义的 MsBuild 任务来执行此操作。
http://ripper234.com/p/msbuild-fxcopsolution-task/