views:

155

answers:

2

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.

A: 

Have you looked at NDepend?

BrianLy
+1  A: 

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.

Sam Saffron