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

Can't analyze InspectCode report because the XML file to analyze defined by property resharper.clt.cs.reportPath does not exist: 'inspectcode_result.xml'. #8

Open
zyx204 opened this issue Jan 23, 2020 · 1 comment

Comments

@zyx204
Copy link

zyx204 commented Jan 23, 2020

Hi,
in azure pipeline report this "Can't analyze InspectCode report because the XML file to analyze defined by property resharper.clt.cs.reportPath does not exist: 'inspectcode_result.xml'."

@BrightLight
Copy link
Member

Just to clarify: this ReSharper/InspectCode plugin for SonarQube imports the findings of an InspectCode analysis. But it does not on its own call InspectCode. You have to execute InspectCode from your build script (or your azure pipeline) and tell InspectCode in the command line the name of the output file (the same filename that you specify in SonarQube).
Something like
inspectcode.exe "solution_name.sln" --output="inspectcode_result.xml"

Do you already do that? The build log should then confirm this inspectcode execution.

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

2 participants