Top "Fxcop" questions

Microsoft's free static analysis tool for analyzing .NET managed code assemblies.

'SuppressMessage' for a whole namespace

I use underscores for my test methods for a better readability and I want to suppress FxCop errors/warnings for …

c# .net namespaces code-analysis fxcop
Is FxCop Dead? Can it be used with VS2015?

I was browsing through Stack Overflow and Google for information about automatic coding style practice tools and found FxCop. But …

c# coding-style fxcop
How to suppress code analysis messages for all type members?

Let's say I have an enumeration of all currencies: public enum CurrencyType { /// <summary> /// United Arab Emirates dirham /// </…

c# .net code-analysis roslyn fxcop
FxCop installation

I am trying to get latest version of FxCop. I am using Visual Studio 2010 Professional edition which does not include …

visual-studio-2010 winapi windows-7 fxcop
How to get the FxCop custom dictionary to work?

How is it possible to get the FxCop custom dictionary to work correctly? I have tried adding words to be …

dictionary localization code-analysis fxcop
How to run .NET 4 code analysis on build server

On a Windows Server 2003 R2 with .NET 4 SDK but without Visual Studio 2010, I have tried building a Visual Studio 2010 solution …

.net-4.0 fxcop build-server
c# warning - Mark assemblies with NeutralResourcesLanguageAttribute

I'm getting the following warning: CA1824 Mark assemblies with NeutralResourcesLanguageAttribute According to MSDN, the cause of this is: An assembly …

c# warnings fxcop
Which are the "must follow" FxCop rules for any C# developer?

I'm planning to start using FxCop in one of our ongoing project. But, when i tried it with selecting all …

c# .net fxcop
How do I suppress FxCop rule 'DoNotCatchGeneralExceptionTypes' with SupressMessage?

I've got code that catches everything and logs it. I don't normally do this, but I'm writing an HTTP handler …

fxcop
What Replaces Code Analysis in Visual Studio 2019?

I'm toying with getting our team and projects ready for VS 2019. Right away, trying to set up Code Analysis for …

visual-studio roslyn fxcop roslyn-code-analysis visual-studio-2019