Find code that depends on .NET 3.5 SP1

白昼怎懂夜的黑 提交于 2019-12-07 19:01:35

问题


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 works for assemblies introduced with SP1, but for code that simply calls new methods and properties it does not detect that usage.


回答1:


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

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.



来源:https://stackoverflow.com/questions/640057/find-code-that-depends-on-net-3-5-sp1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!