惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

有赞技术团队
有赞技术团队
博客园 - 三生石上(FineUI控件)
月光博客
月光博客
F
Full Disclosure
C
Check Point Blog
雷峰网
雷峰网
WordPress大学
WordPress大学
Vercel News
Vercel News
The GitHub Blog
The GitHub Blog
博客园 - Franky
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
The Cloudflare Blog
阮一峰的网络日志
阮一峰的网络日志
Martin Fowler
Martin Fowler
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
MyScale Blog
MyScale Blog
M
MIT News - Artificial intelligence
IT之家
IT之家
博客园 - 聂微东
L
LangChain Blog
博客园 - 司徒正美
博客园_首页
云风的 BLOG
云风的 BLOG
L
LINUX DO - 最新话题
Jina AI
Jina AI
Latest news
Latest news
L
LINUX DO - 热门话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
B
Blog RSS Feed
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
P
Palo Alto Networks Blog
T
Tor Project blog
Microsoft Azure Blog
Microsoft Azure Blog
T
Tenable Blog
爱范儿
爱范儿
T
The Exploit Database - CXSecurity.com
酷 壳 – CoolShell
酷 壳 – CoolShell
V
V2EX
S
Securelist
F
Fortinet All Blogs
AWS News Blog
AWS News Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Security Latest
Security Latest
J
Java Code Geeks
T
Threatpost
The Register - Security
The Register - Security
G
Google Developers Blog
Know Your Adversary
Know Your Adversary
T
Tailwind CSS Blog

博客园 - qqhe325

一个js游戏 向del.icio.us学习 lucene.net优化总结 web service 记录1 自定义加密web.config实验记录 DTC:该伙伴事务管理器已经禁止了他对远程/网络事务的支持 C#基础- 抽象类,静态类 js自动加载日期类 img的onload事件 当图片路径超出网站根目录时 vs2005宏的问题 asp.net 2.0 access 未指定的错误 oledbparameter在update时出错不报错 grove 小例子 delegate和event例子 你试图打开的项目是Web项目,请指定URL路径 asp.net 在分析向此请求提供服务所需资源时出错 策略模式 我们是怎样的一代人[转]
Fxcop使用笔记
qqhe325 · 2008-05-08 · via 博客园 - qqhe325

1.利用fxcop生成项目的SolutionAnalysis.FxCop项目,并放在和生成.dll,.exe相同的目录中
    obj\Debug\
2.添加外部工具
   
3.运行

4.在输出窗口,双击提示可以看到代码

5.用户规则注意嵌入资源和类在同一个命名空间下,删掉AssemblyInfo.cs,把生成的dll放到Rules目录中即可
6.由于命令行工具不能生成.fxcop项目和使用用户规则,所以用户规则可以在fxcop中再使用
7.The FXCop command-line interface (version 1.32 RC) does not support the following capabilities:

  • Creation of a new FXCop project.
  • Modifications of existing FXCop project files to include/exclude rules (not applicable).
  • Add/Remove target assemblies from a project file.
  • Add custom project rules to a project.

Hence, developers cannot configure an FXCop project from within the VS.NET IDE; they need to use the FXCop GUI to make any changes to the project file.

links:
定制FxCop规则示例之一:AvoidICloneableImplementation

http://www.iocblog.net/static/2007/414.html

使用FxCop做代码检查和优化
http://www.cnblogs.com/jchdong/archive/2007/03/14/669610.html
FXCop Integration into VS.NET
http://www.codeproject.com/KB/dotnet/FxCopIntegrateVSNET.aspx
MSBuild with Cruise Control .NET
http://geekswithblogs.net/michelotti/archive/2007/02/23/107164.aspx
Custom FXCop Rules
http://www.projectdistributor.net/projects/Project.aspx?projectId=136
How to debug FxCop custom rules

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=85417&SiteID=1