473,461 Members | 1,726 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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.

Dansk.
Jun 27 '08 #1
0 1115

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

Similar topics

1
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...
0
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...
6
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...
0
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,...
2
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...
1
by: Sharon | last post by:
In the report of the FxCop analysis: CriticalError, Certainty 95, for "TypesThatOwnDisposableFieldsShouldBeDisposable" { Target : "Receiver" (IntrospectionTargetType) Resolution : "Implement...
3
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,...
10
by: Karsten Schramm | last post by:
I would write BaseClass var; ..... if(var is DerivedClass) { DerivedClass derivedVar = (DerivedClass)var; DoSomething(derivedVar); }
0
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,...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...

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.