Wednesday, June 10, 2015

Configure StyleCop with MSBuild to treat Warnings as Errors

We can easily configure StyleCop with MSBuild to make warnings appear as errors with the help of StyleCop.MSBuild NuGet package. First go to Package Manager Console and install it with following command. Install-Package StyleCop.MSBuild Then unload your project and open the project file to modify...