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:

<configuration>
  <runtime>
    <loadFromRemoteSources enabled="true" />
  </runtime>
</configuration>

The following article may also help:

http://blogs.msdn.com/b/shawnfa/archive/2009/06/08/more-implicit-uses-of-cas-policy-loadfromremotesources.aspx

Last edited Aug 28, 2012 at 9:21 AM by andyr, version 3