Questions tagged [fxcop-customrules]

18 questions
0
votes
0 answers

How to create custom rule in fxcop

Can you please tell me the step by step explanation about how to create custom rules using FXCop for .Net. In FxCop, what value we input we need to choose for Target and What input we need to choose for Rules? Thanks in advance..
user2960882
  • 57
  • 1
  • 8
0
votes
0 answers

Creating Customized rule for FxCop

Need help for creating a fxcop rule for following statement: "Do not cast values from different domains" I have googled for this statement and get some info from following microsoft site: Click Here It says "•Do not cast values from different…
Rohit Vyas
  • 1,949
  • 3
  • 19
  • 28
0
votes
1 answer

Custom FxCop rules to check attributes in MVC application

Is there a reasonably simple way to get FxCop to check whether there is any usage of ViewBag, ViewData in MVC application.
SCP
  • 63
  • 1
  • 7
1
2