-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Following code is considering the type name used as string also as dependency.
Types.InAssembly(Assembly.LoadFrom(fromAssembly))
.ShouldNot()
.HaveDependencyOnAny(typesInOtherAssemblyAsStrings)
.GetResult();
For example, one of the types in "typesInOtherAssemblyAsStrings" is "a.b.cde". A string constant in "fromAssembly" is:
private const string s_TypeNameAsString = "a.b.cde"
Is there a way to exclude checking for such logical dependencies and check only explicit dependencies?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels