开发者

VS 2010 - Architecture Validation - Ignore Errors by Type?

开发者 https://www.devze.com 2023-03-07 01:47 出处:网络
Thanks to a set of extension methods in a common assembly, we see errors like this fairly often: Error 1AV0001 : Invalid Dependency : App.Common.SpecialList<>.ConvertTo<>(Method) --> App.DataL

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消