Please consider editing your post and mark it as obsolete instead. Do you want to delete post?
2017.2: Solution wide analysis not finding errors
Permanently deleted user
Created
I upgraded to 2017.2 in VS2017 15.3.2 and solution wide analysis gives up finding errors, just stays on green tick even though there are errors in the solution.
This solution has 65 projects, none too big. Issue started when I made a change to a function in one project referenced by many others. The function is referenced 174 times in the solution. The errors were logged by the solution-wide analysis(SWA) and these declined to zero as I modified the code to fix the errors. However, VS still logged about 5 errors and would not compile. After this, SWA stayed green no matter what errors there were in the solution. Restarting VS2017 fixed this.
I will review the other report and provide more info if required.
More info: It is intermittent, especially after a lot of errors are detected in a solution, analysis seems to give up and just stays green.
Hello David!
Thank you for contacting us.
Could you please specify if the solution with no error detected is large, cause we have similar issue reported for large solutions - https://youtrack.jetbrains.com/issue/RSRP-462298.
Thank you.
This solution has 65 projects, none too big. Issue started when I made a change to a function in one project referenced by many others. The function is referenced 174 times in the solution. The errors were logged by the solution-wide analysis(SWA) and these declined to zero as I modified the code to fix the errors. However, VS still logged about 5 errors and would not compile. After this, SWA stayed green no matter what errors there were in the solution. Restarting VS2017 fixed this.
I will review the other report and provide more info if required.
Thank you for the feedback.
Seems to be cache issue, you can try clear caches as described in the following help article - https://resharper-support.jetbrains.com/hc/en-us/articles/206546989 if the issue occurs again.
Thank you.
Think you, I will follow this.