Skip to content

Instantly share code, notes, and snippets.

@IlyaFinkelshteyn
Created May 26, 2017 18:43
Show Gist options
  • Save IlyaFinkelshteyn/ec95c1cc06b304db1972659cabd22ff8 to your computer and use it in GitHub Desktop.
Save IlyaFinkelshteyn/ec95c1cc06b304db1972659cabd22ff8 to your computer and use it in GitHub Desktop.
install:
- cmd: choco install resharper-clt
after_build:
- cmd: InspectCode.exe -o=resharper-clt-output.xml src\ProjectA.sln
- ps: $result = [xml](Get-Content .\resharper-clt-output.xml)
- ps: $result.Report.Issues.ChildNodes | ForEach-Object {$project = $_.Name; $_.ChildNodes | ForEach-Object {Add-AppveyorCompilationMessage -Message $_.Message -Line $_.Line -FileName $_.File -ProjectName $project}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment