473,225 Members | 1,536 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,225 software developers and data experts.

FxCop - Excluded rules

Hi all,

We are running FxCop on our projects, and we allow people to supress
FxCop warnings thanks to attributes like
[System.Diagnostics.CodeAnalysis.SuppressMessage("M icrosoft.Security",
"CA2104:DoNotDeclareReadOnlyMutableReferenceTypes" , Justification="I
don't like this rule")]

I need to track which rules were removed and why.
Is there w away to ask the FxCop Console mode to output all the excluded
rules with their justifications? (I want to read "I don't like this rule")

Thanks in advance and apologies if this was not the correct group.

Jun 27 '08 #1
0 1107

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Raymond Lewallen | last post by:
I know FxCop has its own board on the FxCop website, but I wanted to reach a larger audience. Has anyone here written any custom rules based on the Introspection engine? Even if you have some...
by: Crocker Data Processing | last post by:
Hi. I've written a bunch of custom rules for FxCop version 1.23, and today happened to download and install (separately) the new FxCop 1.321. Arrgghh ! The new introspection stuff is a lot...
by: Paul Buckley | last post by:
I've recently been enforcing coding standards in my project using FxCop. I've noticed that some of the standard rules are not applied to non-public members (i.e. internal classes and private...
by: Chua Wen Ching | last post by:
Hi there, I am super confuse on this recommendation by FxCop. 1) http://www.gotdotnet.com/team/fxcop/docs/rules/UsageRules/OperatorEqualsOverridesRequireEqualsOverridel.html First of all,...
by: Uri Dor | last post by:
Hi, everyone, The question is whether there is (or can be) an FxCop rule that makes sure I don't do this: String.Format("{0}-{1}-{2}", 5); Or similar things. Some explanations: 1) of course I...
by: Sharon | last post by:
In the report of the FxCop analysis: CriticalError, Certainty 95, for "TypesThatOwnDisposableFieldsShouldBeDisposable" { Target : "Receiver" (IntrospectionTargetType) Resolution : "Implement...
by: Velvet | last post by:
I ran FxCop on one of the components for my web site and the security rules what me to add " tags like the ones listed below: This breaks my ASP.NET application. So my question is,...
by: Karsten Schramm | last post by:
I would write BaseClass var; ..... if(var is DerivedClass) { DerivedClass derivedVar = (DerivedClass)var; DoSomething(derivedVar); }
by: John Wright | last post by:
I am trying to create some custom rules for FxCop and having problems. 1. Is there any good examples of writing custom rules in vb.net? 2. I have created a simple one, including the xml file,...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
by: mar23 | last post by:
Here's the situation. I have a form called frmDiceInventory with subform called subfrmDice. The subform's control source is linked to a query called qryDiceInventory. I've been trying to pick up the...
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
by: MeoLessi9 | last post by:
I have VirtualBox installed on Windows 11 and now I would like to install Kali on a virtual machine. However, on the official website, I see two options: "Installer images" and "Virtual machines"....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.