Click here to Skip to main content
15,900,906 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to treat warning message as error message for my custom rule in Style Cop.
And all the in build messages should behave as currently it's behaving.

What I have tried:

Tried to search many options but if we use that then all the warning messages should be shown as error message, which I don't want.
Posted
Updated 8-Mar-16 6:12am

1 solution

I have resolved it by creating the custom rules.

Thanks
 
Share this answer
 
Comments
Matt T Heffron 8-Mar-16 14:38pm    
Please describe HOW you got the StyleCop warning to be treated as an error.
(Don't just say you "resolved it". What specifically did you need to do?)
That will enable others to find this solution if they ever search for the same question.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900