开发者

VS 2010 - Architecture Validation - Ignore Errors by Type?

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜