You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: