StyleCopCmdLine | wrapper project make | Command Line Interface library
kandi X-RAY | StyleCopCmdLine Summary
kandi X-RAY | StyleCopCmdLine Summary
StyleCopCmdLine is a wrapper project to make it possible to easily call StyleCop from a command line or a PowerShell script. It is (since 5.0.0.0) build against the version of StyleCop on GitHub as opposed to the older version on Codeplex. For more details on the usage see the this repo's Wiki. For a discussion of its usage within a TFS 2015 vNext build see this blog post. A true TFS vNext build task using this wrapper assembly can be found in this repo.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of StyleCopCmdLine
StyleCopCmdLine Key Features
StyleCopCmdLine Examples and Code Snippets
Community Discussions
Trending Discussions on StyleCopCmdLine
QUESTION
I'm using this GitHub repo to try and run StyleCop from CMD. I downloaded the GitHub repo and built it on my local machine using VS2017. I tried to run the batch script This is what I've done so far:
- Downloaded as ZIP and extracted into a folder.
- Opened the solution in VS2017 and built it (no errors).
I then tried to run 'sample.bat' (..\source\StyleCopCmdLine\bin\Debug\sample.bat), which does the following (and was created by the owners of the source to test the repo):
- Load source file ..\source\StyleCopWrapper.Tests\Testfiles\FileWith7Errors.cs
- Load settings file ..\source\StyleCopWrapper.Tests\TestFiles\AllSettingsEnabled.StyleCop
The batch script then runs StyleCopCmdLine and returns the following:
...ANSWER
Answered 2018-Jul-26 at 10:29So it turns out the reason it wasn't actually running the analysis properly was because of the addin paths that I used.
When initializing the StyleCopConsole class, it requires the following arguments:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install StyleCopCmdLine
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page