StyleCopCmd is a command-line driven interface to Microsoft's source code analysis tool, StyleCop.
License
BSD LicenseFollow StyleCopCmd
You Might Also Like
PMG is a low-code software platform that allows users to configure automation solutions and business applications to drive digital transformation initiatives. From streamlining business processes through automation, to integrating existing systems and filling in point solution functionality gaps, to delivering a collaborative workspace and unified user experience – PMG’s low-code platform does it all without coding. Business users as well as IT resources are empowered to configure, deploy, and maintain solutions that meet their company’s specific needs.
Rate This Project
Login To Rate This Project
User Reviews
-
Hi, I found a bug in StyleCopCmd when I use it. In the function AddSolutionFile of class ReportBuilder, if the project file path nested too long, such as "C:\WorkDir\Trunk\GLPC\DUU\DelMS_Release_20131006\DCC\SourceCode\Solutions\..\..\..\..\Common\WebSupport\Tsu.Apc.Libraries.WebResources\Tsu.Apc.Libraries.WebResources.csproj", it throw an path length error. The longest file name should be smaller than 260, and longest folder name could not beyond 240. So, for the code, var ppath = Path.GetFullPath( Path.GetDirectoryName( Path.GetFullPath(solutionFilePath))) + "\\" + sm.Groups["ppath"].Value; it is better to be encapsulated by Path.GetFullPath again: var ppath = Path.GetFullPath(Path.GetFullPath( Path.GetDirectoryName( Path.GetFullPath(solutionFilePath))) + "\\" + sm.Groups["ppath"].Value); It can remove "..\..\", thus, it can get the shortest file name of each cs file in the project. This method resolved the issue I encountered.