查找code,它依赖于.NET 3.5 SP1 [英] Find code that depends on .NET 3.5 SP1

查看:149
本文介绍了查找code,它依赖于.NET 3.5 SP1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法运行某种code分析,找到code将编译.NET 3.5 SP1但不是3.5 RTM?

Is there a way to run some sort of code analysis to find code which will compile with .NET 3.5 SP1 but not 3.5 RTM?

FxCop的工程与SP1中引入组件,但对于code,简单地调用新的方法和属性,它不检测使用。

FxCop works for assemblies introduced with SP1, but for code that simply calls new methods and properties it does not detect that usage.

推荐答案

当然,你可以突出这个东西用的FxCop或VS团队系统。

Sure, you can highlight this stuff with fxcop or VS team system.

请确保你有一个读<一href="http://stackoverflow.com/questions/1030356/get-vs-to-highlight-all-net-3-5-sp1-method-calls/1030830#1030830">this回答。有一个与附带的FxCop的现行规则中的错误,所以你需要做一些手拿着来得到它的工作。

Make sure you have a read this answer. There is a bug with the current rules that ship with fxcop, so you need to do a bit of hand holding to get it to work.

这篇关于查找code,它依赖于.NET 3.5 SP1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆