StyleCop and FxCop
-
Friday, November 07, 2008 4:41 PMHello All,
Can Anyone brief me what is the difference between these two tools? And Do we need to hv a separate license to use those?
It is pretty urgent. Any help would be appreciated.
Thanks,
Rajiv
.NET professional- Moved by Peter RitchieMVP Friday, November 07, 2008 4:47 PM fxcop-related question (Moved from Visual C# General to Visual Studio Code Analysis and Code Metrics)
All Replies
-
Friday, November 07, 2008 4:47 PM
One (StyleCop) analyses source code, the other (FxCop) analyses assemblies (compiled code). StyleCop an do much of what FxCop can do, but it can also analyse tabbing, comments, etc.
http://www.peterRitchie.com/blog- Marked As Answer by Roahn LuoModerator Monday, November 10, 2008 2:08 AM
Friday, November 07, 2008 4:50 PMThanks Peter. Can u pls tell me about the licenses? Do we need to buy a separate license for this? We are using VS 2008. And to implements the coding standards we can use stylecop rgt? So where this FxCop can be used? What will it check in the assemblies?
Thanks
Rajiv
.NET professionalMonday, November 10, 2008 2:40 AMModerator
Hi
FxCop is a free tool so far, you could download it here.
It is an application that analyzes managed code assemblies. By analysising the metadata in the assembies, it could check whether the source code you wrote obey the rules that are pre_defined, such as design, localization, performance and so on.
The most important features of FxCop is that we could write our own custom rules, you may get some examples here: http://www.binarycoder.net/fxcop/index.html.
As for StyleCop, you may post your thread in our StyleCop forum for more information: http://code.msdn.microsoft.com/sourceanalysis/Thread/List.aspx
Thanks for your cooperation!
Regards,
Roahn- Marked As Answer by Roahn LuoModerator Monday, November 10, 2008 3:00 AM

