Running analysis on a mapped drive
If you are trying to analyse a project, solution or files on a mapped network drive you may get StyleCop reporting "No violations encountered" (e.g., ClearCase dynamic view).
If this is the case then you may need to add the following to your %WINDIR%\Microsoft.NET\Framework\v4.0.30319\msbuild.exe.config file:
<loadFromRemoteSources enabled="true" />
The following article may also help: