views:

90

answers:

2

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
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
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
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