I'm using PostSharp 2.1.5.1 and had a warning today:
Aspect dependencies (defined on "MyNamespace.MyAspect.MyVerificationAttribute") will be disabled from the Starter Edition in future versions. Use the AspectPriority property instead.
Seems to me that following line is causing that warning:
[AspectRoleDependency(AspectDependencyAction.Order, AspectDependencyPosition.After, StandardRoles.Tracing)]
Could someone point me to a correct example of how to use AspectPriority
? Are the following examples up to date?
http://www.sharpcrafters.com/blog/post/introducing-postsharp-2-0-3-aspect-dependencies.aspx (section "Old Good Aspect Priority")
http://www.sharpcrafters.com/blog/post/Day-3-Applying-Aspects-with-Multicasting-Part-2.aspx (section "Aspect Priority")
Thanks.