Skip to main content

Posts

Showing posts from April, 2018

StyleCop Issues in C# Code - How to get rid of them real quick !!

Are you not able to checkin your code because of the Gated Checkin Policy due to StyleCop issues in your code ? Do you have hundreds and hundreds of StyleCop issues to fix in short time ? Are you looking for ways to quickly/automatically Fix StyleCop issues in your C# code ? Then in that case, you have two options: Use Resharper Resharper is a great tool for fixing such issues, but it comes with a licensing cost. Use Free extensions available in Visual Studio marketplace Wouldn't it be nice if we could have a Visual Studio Extension that could fix all the StyleCop issues for us, and is FREE at the same time. Well there is one, available as a Visual Studio Extension, its called " Code Formatter ". This tool in combination with StyleCop works very efficiently in resolving most of the StyleCop issues in code. Below are some of the features of this tool: • Format the class file (.cs) to arrange members of class in the proper order. • Using statements