VS中的强制文档(2010) [英] Force Documentation in VS(2010)

查看:146
本文介绍了VS中的强制文档(2010)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是搜索如何为没有记录的每个功能/成员获取错误/警告

I am simply searching how to obtain errors/warning for each function/member that isnt documented.

我很确定我设法在我的一个项目上执行此操作,但是在我的工作站上找不到如何做到这一点。

Im pretty sure I managed to do this on one of my projects, but cant find how to do it here on my workstation.

我已经查看了项目道具,解决方案道具,但找不到。

I have looked into the project props, the solution props, but cant find it.

我一定错过了一些东西,也许我可以在家里做一个扩展。

I must have missed something, or maybe I could do this at home with an extension.

或者也可能是因为我目前正在开发一个VB.Net项目,而不是一个C#项目。
行为在 C# VB 之间相当大。

Or it could also be because i am currently working on a VB.Net project, and not a C# project. Behavior changes considerably between C# and VB.

而且Google不帮助我太多...

And google isnt helping me out too much ...

编辑:一个小的截图,法语,抱歉。所以一些翻译:
编译器是构建选项卡
Avertissements =警告

Edit : A small screenshot, in French, sorry about that. So some translation : "Compiler" is the Build Tab Avertissements = Warning

感谢

推荐答案

我不相信这是可能的VB.NET项目。

I don't believe this is possible for VB.NET projects.

StyleCop ,一个与Visual Studio集成的代码分析器,能够检测丢失的文档,以及许多无关的事情。您必须自行配置设置才能保留必要的规则。项目的.chm包含所有规则; SA1600 是您要查找的规则,但可能还有其他方法。

StyleCop, a code analyzer that integrates with Visual Studio, is capable to detecting missing documentation, as well as very many unrelated things. You'll have to configure the settings yourself to keep only the necessary rules on. The project's .chm contains all of the rules; SA1600 is the rule you're looking for, but there may be other handy ones.

您还可以使用 Sandcastle 通过在构建文档时查看输出的错误来查找缺失的文档。

You can also use Sandcastle to find missing documentation by looking through outputted errors when building documentation.

这篇关于VS中的强制文档(2010)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆