views:

207

answers:

1

Is there anyway I can run static code analysis using fxcop for silverlight code in .net 3.5

I found this article as well as a tool XAMLToolkit

These are targetted towards .net 4.0 though!

+1  A: 

I'm always struggling to see the difference between the built-in code analysis in vs and fx-cop. I thought that the plan was to converge the two at one point. Anyway, we use the built-in code analysis for silverlight 3 projects and it works fine, both in visual studio and on our build server.

Is there any particular reason not to use the built-in code analysis?

Phil
we have a continuos integration process (cruisecontrol) which mandates fxcop to be run for successful builds.Until now we happily worked with core .net stuff and now the silverlight thing has come up .we need fxcop integration for that code as well :)
balalakshmi
On the Silverlight Toolkit we use fxcop just fine for Silverlight projects... so +1 on it "just working fine"
Jeff Wilcox
@Jeff did you mean you are able to run fxcop on .net 3.5 silverlight?
balalakshmi
Yes, works for me..
Jeff Wilcox