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)?
- jiridj
- Posts: 4
- Joined: Fri Apr 25, 2008 3:27 pm
- Location: Brussels
- Full Name: Jiri De Jagere
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
Gael Fraiteur, project leader
got good support? consider donating to the project.
got good support? consider donating to the project.
- gfraiteur
- Site Admin
- Posts: 581
- Joined: Tue Dec 18, 2007 3:09 pm
- Full Name: Gael Fraiteur
- Company: postsharp.org
Re: PostSharp to enhance System.* libraries
Is it not possible with LAOS?
- jiridj
- Posts: 4
- Joined: Fri Apr 25, 2008 3:27 pm
- Location: Brussels
- Full Name: Jiri De Jagere
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
Gael Fraiteur, project leader
got good support? consider donating to the project.
got good support? consider donating to the project.
- gfraiteur
- Site Admin
- Posts: 581
- Joined: Tue Dec 18, 2007 3:09 pm
- Full Name: Gael Fraiteur
- Company: postsharp.org
4 posts • Page 1 of 1