SVNStyleCop

Rating: No reviews yet
Downloads: 855
Released: Sep 15, 2009
Updated: Sep 17, 2009 by shtin
Dev status: Stable Help Icon

Recommended Download

Application SVNStyleCop.zip
application, 259K, uploaded Sep 17, 2009 - 855 downloads

Release Notes

First stable version. Steps to install:

Setup SVNStyleCop
  1. Download archive and unpack it anywhere on SVN server.
  2. Set valid path to svnlook.exe in SVNStyleCop.exe.config file
  3. Replace SVNSettings.StyleCop with your standards if needed
  4. Add path patterns to pathPatterns group in SVNStyleCop.exe.config file. It should be a valid regex. Example:
        <pathPatterns>
            <clear />
            <add value="^SalesManager/.*\.cs$"/>
            <add value="^Utilites/.*\.cs$"/>
        </pathPatterns>
will analyze all *.cs files that about to be committed to SalesManager and Utiltes folder on SVN server (autogenerated files will not be analyzed according to SVNSettings.StyleCop file).

Setup hook
  1. Set valid path to SVNStyleCop.exe and svnlook.exe in pre-commit.cmd
  2. Move pre-commit.cmd to the hooks folder of your SVN repository. It also enables comments to be required. You can comment corresponding lines in pre-commit.cmd if it is not needed.

Now you can be sure that nobody will commit files with StyleCop violations!

Reviews for this release

No reviews yet for this release.