To debug custom rules you can write log messages in to a file. To do that you reference "c:\Program
Files\SubMain\CodeIt.Right for VS2005\SubMain.CodeItRight.Core.dll" and
then use
SubMain.Core.ExceptionHandling.UnhandledExceptionManager.LogHandler(string message) - writes into the CodeIt.Right log file
or
SubMain.Core.ExceptionHandling.UnhandledExceptionManager.LogHandler(string message, string fileName) - writes into a log file of your choice
Thank you,
Serge Baranovsky
http://submain.com - .NET Developer Tools | Microsoft VB MVP | http://vbcity.com - VB Developer Community
» » (Static Code Analysis + Automatic Refactoring) / Painless Coding Guidelines = CodeIt.Right - http://submain.com/codeit.right
» » C#/VB .NET Coding Guidelines - FREE 100+ page ebook (PDF) http://submain.com/guidelines