Click here to Skip to main content
15,897,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to create a rule that requires developer to enter a summary comment
HTML
/// <summary>
        /// 
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>


What I have tried:

Please tell me any solution for my problem. thanks
Posted
Updated 9-Dec-20 18:46pm

1 solution

You are describing adding functionality to (I assume) Visual Studio.

You can force VS to produce warning messages for certain XML comments: [^] by setting project options:
Quote:
StyleCop is a source code analysis tool that provides developers with an effective way to follow C# coding standards. FxCop runs against the compiled binaries as a way to understand and enforce the.NET Framework Guidelines for managed code assemblies.
[^]

StyleCop: [^], [^] . Also, check out: [^]

There are also 3rd. party tools that integrate into Visual Studio that will annotate your code ... on demand ... a few years ago I purchased Atomineer [^] which at that time met my limited needs for a relatively low-cost on-demand annotation.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900