When using
Types()
.That()
…
.Should()
.OnlyDependOn(Types().That().ResideInAssembly("System.Console"))
.Check(Architecture);
This does currently not work, because ResideInAssembly matches the fully qualified name like System.Console, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a. This is unexpected, the condition should instead only match the name of the assembly.