inspectcode.exe >2019.3.2 intermittently ignoring "Namespace provider" setting on folders

 We run inspectcode.exe on our build agents and fail the build if there are any warnings. Ever since upgrading to version 2019.3.2 (and later) of the JetBrains.ReSharper.CommandLineTools nuget package, we've periodically been getting a false positive CheckNamespace warning for files that are in a folder with "Namespace Provider" set to false.

For example, take the path "xx.xx\Builders\Interfaces\IBuilder.cs". The Interfaces folder has that setting checked and we sometimes still get this warning:

         <Issue TypeId="CheckNamespace" File="xx.xx.Application\Builders\Interfaces\IBuilder.cs" Offset="160-197" Line="6" Message="Namespace does not correspond to file location, should be: 'xx.xx.xx.Application.Builders.Interfaces'" />
 
This only happens on some of our builds. It seems to happen randomly, I don't see any obvious pattern.
 
We've had to downgrade to 2019.3.1. Has anyone else had this issue?
1

Please sign in to leave a comment.