FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

imanushin/SolutionCop: Tool for static analysis of Visual Studio solutions · GitHub

 
 

Latest commit

 

History

137 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SolutionCop

SolutionCop is tool for analysing Visual Studio solutions and projects. It covers gap between FxCop (static analysis of binaries) and StyleCop (static analysis of isolated files) and allows to analyse solution/project structure and settings.

Usage: SolutionCop.exe -s MySolution.sln [-c SolutionCop.xml] [-b TeamCity]

If no configuration file is specified then tool will look for SolutionCop.xml file next to *.sln. If config file cannot be found then default one will be created next to VS solution with all rules disabled.

Supported rules

How to get

NuGet.exe Install SolutionCop

or

NuGet.exe Install SolutionCop -Prerelease

depending on how brave you are

Compatibility

  • Tool is using .NET 4.0

TODO (rules in priority order)

  • Check for "Copy Local" used
  • Classify project by type (e.g. production, testing) and disallow references between some groups
  • Proper owner in AssemblyInfo (can it be done via FxCop?)
  • Proper copyright date in AssemblyInfo (can it be done via FxCop?)

TODO (other)

  • Option to fail on missing sections instead of creating them
  • Provide links to rule details in output
  • Treat each rule as a separate test suite for TeamCity (not sure whether it will work better than current plain list)
  • Move error messages to resources
  • XSD for config

About

Tool for static analysis of Visual Studio solutions

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL