A few questions ....

Discuss simply about anything.

A few questions ....

Postby barcheeetta on Mon Feb 05, 2007 8:15 pm


Hello,
I just now found this nice project and was wondering if for writing PostSharp you started out from another similar aop open source project or you wrote everything from scratch based only on the CLI specs.
Also, I read that assemblies altered by PostSharp fail at being decompiled by Reflector and was wondering why this is happening.
btw, it seems that you are writing a very nice piece of software.

Regards,
Bob
Bob Rock
barcheeetta
 
Posts: 2
Joined: Sat Jan 12, 2008 4:55 pm
Full Name: Bob Rock

Re: A few questions ....

Postby gfraiteur on Mon Feb 05, 2007 9:25 pm


Hello Bob,


I just now found this nice project and was wondering if for writing PostSharp you started out from another similar aop open source project or you wrote everything from scratch based only on the CLI specs.

Yes, it was written from scratch. When CLI specs were missing or loose I needed to look at Rotor or by the trial-error method. There was no IL reader-writer at the time I began (september 2004). The CLI specs for generics were not available...


Also, I read that assemblies altered by PostSharp fail at being decompiled by Reflector and was wondering why this is happening.

This happens with assemblies altered by the [b]Laos[/b] plug-in. The problematic instruction is [b]ldtoken[/b] on a method (the notoriously missing [b]methodof [/b]keyword in C#). I have contacted Lutz Roeder about this problem. He answered that the problem is already fixed but not yet released. You may eventually politely urge. Note that, if you use plug-ins that generate only patterns of instructions of usual compilers, assemblies will be perfectly readable.


btw, it seems that you are writing a very nice piece of software.

Thank you. I hope the community will grow once I will release the Beta 1. I hope that community members will make plug-ins and make them available. Blog about this if you can :)

Gael Fraiteur, project leader
got good support? consider donating to the project.
gfraiteur
Site Admin
 
Posts: 674
Joined: Tue Dec 18, 2007 3:09 pm
Full Name: Gael Fraiteur
Company: postsharp.org

Re: A few questions ....

Postby barcheeetta on Mon Feb 05, 2007 10:47 pm


That is indeed a lot of time for an open source project. I take my hat off to you sir for not letting go.

Regards,
Bob
Bob Rock
barcheeetta
 
Posts: 2
Joined: Sat Jan 12, 2008 4:55 pm
Full Name: Bob Rock


Return to Unordered Thoughts