Search code examples
.netc#-4.0metaprogrammingaoppostsharp

PostSharp 1.5 and .Net 4


Postsharp is great, but only the 1.5 version is still opensource. Does it work with .net 4.0? If not, are there any other good AOP weavers out there? I'm not interested in the proxy type.


Solution

  • To answer my own question:

    PostSharp 1.5 does appear to work with .net 4.0. I have a [Cache] Attribute working just fine in a .net 4.0 Class Library. Now, maybe some parts of it don't work, but i haven't hit those. Gael can you enlighten me here?

    That said, the community edition of the latest PostSharp seems like the way to go. Thank you Gael for providing a commercially usable lite version of this great product.