We works in Visual Studio and write programs on C# .Net ASP.NET
For making a standard in naming contol labels we think to write some code analizys program which can analize code (before, of after compilation to IL) and can found in code text strings which used for naming control labels. (or if label text is stored in variable, check value and make a decision, correct that name, or not.
What tool can i use for automation like that?
I have looked up internet, and found a StyleCop, FxCom, Code Analizys systems - but i understand that this systems have rules only for variable names, not label of control names.
How can i make add-on to Visual Studio, which can read code (edited in this time by programmer) and make a warnings while compiling project to avoid programmer use for label non-appropriate value?
Thanks.