I need to run fxcop on a project that refere开发者_开发技巧nces an obfuscated commercial assembly (from dotnetremoting.com). Fxcop tries to load the obfuscated assembly and fails...
I would like to validate our code and check if every Thread that we execute runs in try catch block. A valid sample:
I would like to exclude CA1822:MarkMembersAsStatic from the CoreTest assembly as the NUnit test methods cannot be converted to static methods as NUnit won´t execute them if I do. In the other assembl
I\'m writing a custom rule to verify the constructor of any control type calls initialize component. But when I hit these 2 edge cases:
I\'ve got code that catches everything and logs it.I don\'t normally do this, but I\'m writing an HTTP handler and want to return an appropriate HTTP code.Anyway,I\'m putting the following at the top
Is it possible to exclude a complete namespace from all FxCop analysis while still analyzing the rest of the assembly using the SuppressMessageAttribute?
Can anyone point me to an fxcop rule for identifing \"string ==\" usage. For example: 开发者_开发技巧string s = \"abc\";
We are currently using TFS 2008 for source control and continuous integration. We use FXCop to check for checking performance and security warnings. The Architect or senior developer runs FX Cop at t
Due to certain reasons, in our ASP.NET web application, it is not recommended to use Response.Redirect(\"something\", True). It should be used with False for the endResponse parameter. We want to enfo
I am trying to use the FxCop build runner in Te开发者_Go百科amCity (5.1.2) and while I get the analysis output, the errors all show \'0\' for the code line link and I can\'t open anything in the IDE u