Postsharp at runtime
6 posts • Page 1 of 1
Postsharp at runtime
Hi everybody,
I'm currently using Postsharp and it's working great. I saw on the doc that PS plateform can be used at runtime instead of compile time and this is what I'd like to do (I'd like to avoid installation on each developer's workstation, just include some files).
However I don't know how to do it, I have carefully read the example PostSharp.Samples.Host. But I am not sure this is what I am looking for. If someone has used PS at runtime only (without previous compilation using PS) I'm very interested.
One last thing: I hope i put this topic in the right category, change it if needed.
Thanks
I'm currently using Postsharp and it's working great. I saw on the doc that PS plateform can be used at runtime instead of compile time and this is what I'd like to do (I'd like to avoid installation on each developer's workstation, just include some files).
However I don't know how to do it, I have carefully read the example PostSharp.Samples.Host. But I am not sure this is what I am looking for. If someone has used PS at runtime only (without previous compilation using PS) I'm very interested.
One last thing: I hope i put this topic in the right category, change it if needed.
Thanks
- jmoisson
- Posts: 3
- Joined: Wed Aug 13, 2008 4:07 am
- First Name: Julien
- Last Name: MOISSON
- Company: NATIXIS
Re: Postsharp at runtime
It can be indeed used at runtime, but only in very specific scenarios. For instance, if you are writing an application server, you may want to weave user assemblies.
There is no command-line utility for runtime weaving; you have to integrate PostSharp with your application (i.e. with your bootstrapper).
-gael
There is no command-line utility for runtime weaving; you have to integrate PostSharp with your application (i.e. with your bootstrapper).
-gael
Gael Fraiteur, project leader
- gfraiteur
- Site Admin
- Posts: 834
- Joined: Tue Dec 18, 2007 3:09 pm
- First Name: Gael
- Last Name: Fraiteur
- Company: postsharp.org
Re: Postsharp at runtime
Thanks for your reply.
So can I use the example i talked about above for "inspiration"?
So can I use the example i talked about above for "inspiration"?
- jmoisson
- Posts: 3
- Joined: Wed Aug 13, 2008 4:07 am
- First Name: Julien
- Last Name: MOISSON
- Company: NATIXIS
- gfraiteur
- Site Admin
- Posts: 834
- Joined: Tue Dec 18, 2007 3:09 pm
- First Name: Gael
- Last Name: Fraiteur
- Company: postsharp.org
Re: Postsharp at runtime
Thanks Gael. 
- jmoisson
- Posts: 3
- Joined: Wed Aug 13, 2008 4:07 am
- First Name: Julien
- Last Name: MOISSON
- Company: NATIXIS
Re: Postsharp at runtime
All samples are released to the public domain, btw, so you can recklessly copy it.
Gael Fraiteur, project leader
- gfraiteur
- Site Admin
- Posts: 834
- Joined: Tue Dec 18, 2007 3:09 pm
- First Name: Gael
- Last Name: Fraiteur
- Company: postsharp.org
6 posts • Page 1 of 1
