I am doing static analysis for a MVC v2 website build with .net 4. I have compiled the website and ran FxC开发者_如何学Pythonop on the resulting dll, but then I realized that the dll does not contain
I\'m still trying to get my FxCop rule working. As part of this, i need to work out what methods a method calls. Previously i was using CallGraph.CallersFor() (doing it in reverse, which is my final
According to CA1026: Default parameters should not be 开发者_StackOverflowused I\'m not supposed to use default parameters.
I want to create an FxRule that applies a method, only if the method gets called from a specific class.
I\'m new so please bear with me. I would like to know how to have MSbuild and FXcop run over night and to inform the users if they fail without finishing. I have been told they both can be integrated
I am using Common.Logging for .NET.When I use one of the XXXFormat functions like DebugFormat or InfoFormat, I get the CA1305 warning.It is easy enough to suppress by right clicking and either saying
I\'m interested in creating a custom rule based on CA2000 \"Dispose Objects BeforeLosing Scope\" in my ASP.Net web project that doesn\'t apply to objects that are a descendant of System.Web.UI.Control
I have a WPF solution, and when I run FxCop on it (well, when I build it with Code Analysis enabled, to be precise), with the rule set set to Microsoft All Rules (there are a few other rule sets that
is there a way to circumvent the FxCop\'s \"pascal acronym naming convention\" (which is .. controversial) enforcment in rule ca1709 by using an \'acronym dictionary\'?
I\'ve just started work at a shop t开发者_如何学编程hat uses Lance Hunt\'s coding standards for C# development (see here) -- has anyone customised StyleCop and FxCop to work with these?StyleCop itself