views:

23

answers:

0

Visual Studio 2010 code analysis fails to run now that we've incorporated a 3rd-party assembly into our project.

Project : error : CA0055 : Could not load C:\Programming\MyAssembly.dll.

Project : error : CA0052 : No targets were selected.

Project : error : CA0058 : The referenced assembly 'TheirAssembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=...' could not be found. This assembly is required for analysis and was referenced by: C:\Programming\MyAssembly.dll.

When opening the 3rd-party assembly Reflector gives the error:

Invalid number of data directories in NT header.

I've done some searching online and it appears that assembly is obfuscated.

Are there any ways around this? Can we exclude this assembly from code analysis?