0

I have one .fxcop rule file is there any way where i can import this file to Stylecop?

Please let me know the step by step approach for this.

Thanks...

Neil Knight
  • 47,437
  • 25
  • 129
  • 188
AJ01
  • 235
  • 1
  • 3
  • 16

2 Answers2

3

Don't think that's possible as FxCop and StyleCop are completely different tools for different purposes. See Stylecop vs FXcop

Community
  • 1
  • 1
Archeg
  • 8,364
  • 7
  • 43
  • 90
0

Depending on the rule you have in FxCop, it might be possible to port it to StyleCop (or Roslyn), but you can's simply import or combine these tools. The reason behind this is that FxCop inspects the compiled binaries, while StyleCop parses the actual source code.

If you update your question to include the purpose of the rule, we might be able help you with that.

jessehouwing
  • 106,458
  • 22
  • 256
  • 341