The only two ways to ignore a .NET assemblies are:
- Using notmycode/JustMyCode as you wrote
- Remove the assembly from the Project Properties > Code to Analyze panel.
Pregunta
BACKGROUND
As time goes by, I find myself more and more turning to NDepend to gain insight into the design/implementation of legacy applications.
QUESTION
Rather than adding JustMyCode
to CQL queries, is there a way to permanently configure NDepend (at the project level) to simply ignore the .NET Framework? I could be wrong, but I am pretty sure that this feature was supported by NDepend v3.
EXAMPLE
from t in Types where t.IsUsedBy ("MyCompany.MyProduct.MyAssemblyName") select new { t, t.NbILInstructions }
from t in JustMyCode.Types where t.IsUsedBy ("MyCompany.MyProduct.MyAssemblyName") select new { t, t.NbILInstructions }
CONTEXT
Solución
The only two ways to ignore a .NET assemblies are: