I am using InspectCode.exe in my build plan which can trigger multiple builds simultaneously. I am getting this warnings like these sometimes when i run inspectcode.exe.
Warning: Inconsistent caches for file GISFillHolesVM.cs: cached=35440 actual=34716. Please, describe how this file could be changed.
Warning: Inconsistent caches for file GISMergePolygonVM.cs: cached=32384 actual=28500. Please, describe how this file could be changed.
Warning: Inconsistent caches for file GISReshapePolylineVM.cs: cached=21398 actual=21333. Please, describe how this file could be changed.
CommandLine I am using -
"F:\WarningCheckDir\183664642\JB_ReSharper_CLT_2019.1.1\inspectcode.exe" --output="F:/WarningCheckDir/183664642\ResharperReportHMS.xml" --severity="WARNING" --profile="F:\WarningCheckDir\183664642\GeoHECHMS\Trunk\Sources\GHH_Dev.sln.DotSettings.user" "F:\WarningCheckDir\183664642\GeoHECHMS\Trunk\Sources\GHH_Dev.sln" --properties="configuration=LicensingHMS;platform=x64" --absolute-paths --caches-home="F:\WarningCheckDir\183664642\ReSharperCache"
As you can see that i am using --cache-home to have separate caches locations for each build and also insepectcode.exe is also dedicated to each build and not running from common location.
When this warning comes up, the count of Re# warnings are also incorrect. Can somebody explain why this is coming? Any solution/workarond?