Visual Studio Team Services (VSTS) Resharper Code Quality Automation
I have written a convenient build task to run the Resharper CLT against a visual studio online build. It will automatically fail the build if any code quality validations are found. The tool is free to install (and always will be) so please try it out!
https://marketplace.visualstudio.com/items?itemName=alanwales.resharper-code-analysis
Please sign in to leave a comment.
I installed the extension in VSTS but it does not show in the available build tasks. Does anyone now if there are additional steps required to be able to use the extension?
This runs the Resharper CLT really well, but I want to incorporate the results into the SonarQube runner however I need to know where the results file is created. Can you either expose the file path and name for the results.xml file OR please allow us to override the output file path and name.
Could you please post a link where we can submit issues, suggestions etc... And also list that on the marketplace page?
The tooltip for additional arguments is incorrect.
I'm trying to specify the InspectCode cache location but without success. I set "Additional arguments" to this:-
--caches-home=ReSharperCache
but the cache doesn't get set. The console output from the build task is this:-
Invoking InspectCode.exe using arguments "D:\buildagent\_work\615\s\MySolutionsln" /o:"D:\buildagent\_work\615\ReSharper.xml"
It is missing my additional arguments. I have tried many variations but without success. Any idea how I can get this to work?
Alan, any update on when the issue when there is a space in the solution path will be fixed?
We are using this in VSTS.
I know Lennart posted a solution in the Review tab in the visual studio marketplace. However, I think his solution only works when running this in TFS and not VSTS.
Any help with this will be greatly appreciated.
Hi,
I get ItemNotFoundException for CodeInspection_9.xml file:
For bug reports and fixes > https://github.com/alanwales/vsts-resharper-code-quality-task