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.
+2
A:
PostSharp 1.5 will not run on .NET 4.0. There's a discussion of alternatives on http://www.sharpcrafters.com/postsharp/alternatives.
Gael Fraiteur
2010-08-10 07:16:14
I think its great you have the alternatives listed on your site. CCI stuffs looks neat. What are the restrictions on your community version.
Adam
2010-08-11 02:04:57
Restrictions on the community edition are listed on: http://www.sharpcrafters.com/postsharp/purchase/compare. Basically, the community edition is just a little better than OSS alternatives; the professional edition is much better.
Gael Fraiteur
2010-08-14 06:39:17
A:
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.
Adam
2010-08-14 19:14:14