Code analysis is not performed when binding the project to assembly obfuscation

Visual Studio 2010 code analysis does not start when we include a third-party build in our project.

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

Project: Error: CA0052: No goals have been selected.

Project: error: CA0058: assembly reference 'ItsAssembly, Version = 1.0.0.0, Culture = neutral, PublicKeyToken = ...' cannot be found. This assembly is required for analysis, and referenced by: C:. \ Programming \ MyAssembly.dll

When you open a third-party assembly, Reflector throws an error:

Invalid number of data directories in NT header.

I did a search on the Internet and it seems that the assembly is confused.

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

+3
1

. .

, , , ProjectName.External, .

, , dll.

, .

+2

Source: https://habr.com/ru/post/1760585/


All Articles