I’ve just started using NDepend and am trying to analyse a solution.
This warning appears when I add the solution’s assemblies and it will not load any assemblies with the warning:
Cant’ load the assembly {MyAssembly}: Several .NET assemblies have the name {MyAssembly} but they are different: …list of the .dlls in the project which contain this assembly
What could be causing this? I am using a common AssemblyInfo.cs file as well as the standard one to set some common attributes but there are no conflicts between these attributes.
I had one project in my solution (the tests project) which was not set to build and referenced many of the other assemblies. Even when deselecting this assembly from NDepend it still threw the error.