PostSharp to enhance System.* libraries
4 posts • Page 1 of 1
PostSharp to enhance System.* libraries
I am looking for a way to extend .Net Framework libraries at the platform level. I'm specifically interested in adding aspects for tracing messaging performed with System.Messaging. Is this possible with PostSharp in any way (with or without Laos)?
Re: PostSharp to enhance System.* libraries
Using Core, you can modify assemblies even if you don't have the source code.
The problem is that System.Messaging is signed. You cannot sign it back after modification. A possible solution is to delay sign it, and to disable signature verification of this assembly using the sn utility.
Gael
The problem is that System.Messaging is signed. You cannot sign it back after modification. A possible solution is to delay sign it, and to disable signature verification of this assembly using the sn utility.
Gael
Re: PostSharp to enhance System.* libraries
No, since there is currently no way to add aspect by another way than adding a custom attribute. But if you write a simple PostSharp Core tasks providing custom attributes, it would work.
Gael
Gael
4 posts • Page 1 of 1