Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API & BadgesSharpCmd #2

Open
3F opened this issue Oct 30, 2015 · 0 comments
Open

API & BadgesSharpCmd #2

3F opened this issue Oct 30, 2015 · 0 comments

Comments

@3F
Copy link

3F commented Oct 30, 2015

Can you provide also public API layer instead of hard and huge BadgesSharpCmd.exe ?

yes, as I said here, you may also release this as nuget package. However, service-oriented structure is more flexible for any cases...

For example, FxCop:

"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\FxCopCmd.exe" 
/file:"path_to.dll" /out:"CodeAnalysisLog.xml" 
/ruleSet:"=MinimumRecommendedRules.ruleset" 
/rulesetdirectory:"C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\\Rule Sets" 
/rule:"-C:\Program Files (x86)\Microsoft Visual Studio 12.0\Team Tools\Static Analysis Tools\FxCop\\Rules" 
/searchgac /ignoreinvalidtargets /forceoutput /successfile 
/ignoregeneratedcode /saveMessagesToReport:Active /timeout:120

Then you only need to send result CodeAnalysisLog.xml on your server /As I see, used - badgessharp.apphb.com/badges via simlpe POST method (HTTP/S)

Well, for this step we may use all of what we have, for example: wget, powershell, different actions in vsSolutionBuildEvent :) and a lot of exotic variants...
I mean, not important - what and how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant