MSBuild SonarQube runner skipping auto-generated files?

两盒软妹~` 提交于 2019-12-06 04:33:52

I have found some information in the Sonar .NET documentation, which states, among other things, states that:

"Certain types of project will automatically be excluded from analysis. For example, Microsoft Fakes generates additional projects during build. These auto-generated projects will not be analysed."

and

"Files that are generated by custom tools within Visual Studio are automatically excluded from analysis, such as the xxx.Designer.cs file generated from a .resx file:"

I assume that our internal ORM tool falls into the latter category. Thus, that explains why those files are being excluded from the analysis.

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