What Replaces Code Analysis in Visual Studio 2019?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-10 12:50:29

问题


I'm toying with getting our team and projects ready for VS 2019. Right away, trying to set up Code Analysis for a new project, I find this:

So, if this is deprecated (and apparently can't even be used, so I'm thinking "deprecated" really means "gone"), where are we supposed to set up our Rule Sets? Is there some other location, or perhaps an altogether new solution to the problem of style and code quality?


回答1:


Going forward, static analysis will be provided by Roslyn analyzers: https://github.com/dotnet/roslyn-analyzers

Migrate from FxCop code analysis to .NET compiler platform analyzers




回答2:


Microsoft IntelliCode looks great!



来源:https://stackoverflow.com/questions/55598152/what-replaces-code-analysis-in-visual-studio-2019

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!