0

I've updated my project from 2.x version to 3.x version of Postsharp.

Now, VS are dumping me that:

MethodInterceptionAspect can't be applied on a interface method... Could you help me about that...?

My aspect wants to intercep Isession.Close method of NHibernate.Isession. In postsharp 2.x all runs very fine, however, on 3.x version, postsharp warning me a error compiler.

I'll appreciate a lot your help. Thanks for all.

2 Answers 2

1

This incompatibility was fixed in PostSharp versions 3.1.52 and 4.0.32 and should be now possible.

1

Please visit this page... [http://doc.postsharp.net/composition][1]

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.