Thanks to a set of extension methods in a common assembly, we see errors like this fairly often:
Error 1 AV0001 : Invalid Dependency : App.Common.SpecialList<>.ConvertTo<>(Method) --> App.DataLayer.Identifier(Type) Layers: Common, Data Layer | Dependencies: References Generic Parameter C:\Va开发者_如何学编程lidation.layerdiagram 0 0 App.Modeling
It seems this is a common enough problem (see this post).
It is easy enough to suppress them one at a time, but fairly annoying. Is there any way to suppress this "Dependencies: References Generic Parameter" error globally? Or even better, to suppress it for calls going into a single layer?
No, there's no way to do this directly in the box.
精彩评论