Aspect suggestion and setup improvement
2 posts • Page 1 of 1
Aspect suggestion and setup improvement
Hello.
I've used PostSharp some times ago but dropped it out of my projects because of it's very bad compilation/weaving performance. Now I've given it a new chance with a current version (1.0.9) and it's much better now. Congratulations!!!
Today I saw in the VS output window a message that there is a newer version and downloaded it. Installation failed with a message that it is already installed and needs to be uninstalled first. So it would be very nice to have an update/upgrade option in the installer.
I'd like too see an aspect similar as OnFieldAccessAspect for (automatic) properties. Or can I use another aspect for this?
Also very nice would be (as part of your constraints framework) an aspect supporting LINQ contraints - if this is possible somehow to specify an attribute with a LINQ expression.
Thanks,
Marco
I've used PostSharp some times ago but dropped it out of my projects because of it's very bad compilation/weaving performance. Now I've given it a new chance with a current version (1.0.9) and it's much better now. Congratulations!!!
Today I saw in the VS output window a message that there is a newer version and downloaded it. Installation failed with a message that it is already installed and needs to be uninstalled first. So it would be very nice to have an update/upgrade option in the installer.
I'd like too see an aspect similar as OnFieldAccessAspect for (automatic) properties. Or can I use another aspect for this?
Also very nice would be (as part of your constraints framework) an aspect supporting LINQ contraints - if this is possible somehow to specify an attribute with a LINQ expression.
Thanks,
Marco
Marco von Frieling
- mfrieling
- Posts: 5
- Joined: Sat Jan 12, 2008 4:55 pm
- First Name: Marco
- Last Name: von Frieling
Re: Aspect suggestion and setup improvement
Hi Marco,
This is due to a bug in a component delivered by Microsoft: one cannot install an MSHelp collection and uninstall in the same process instance, because the MSHelp plugin does not support multiple transactions.
It is on my roadmap. But you can already use OnMethodBoundaryAspect or OnMethodInvocationAspect on the accessors.
Indeed... Unfortunately it is not possible to specify a method (or a linq expression) as a custom attribute member value.
-gael
So it would be very nice to have an update/upgrade option in the installer.
This is due to a bug in a component delivered by Microsoft: one cannot install an MSHelp collection and uninstall in the same process instance, because the MSHelp plugin does not support multiple transactions.
I'd like too see an aspect similar as OnFieldAccessAspect for (automatic) properties. Or can I use another aspect for this?
It is on my roadmap. But you can already use OnMethodBoundaryAspect or OnMethodInvocationAspect on the accessors.
- Code: Select all
Also very nice would be (as part of your constraints framework) an aspect supporting LINQ contraints - if this is possible somehow to specify an attribute with a LINQ expression.
Indeed... Unfortunately it is not possible to specify a method (or a linq expression) as a custom attribute member value.
-gael
Gael Fraiteur, project leader
- gfraiteur
- Site Admin
- Posts: 816
- Joined: Tue Dec 18, 2007 3:09 pm
- First Name: Gael
- Last Name: Fraiteur
- Company: Coding Glove
2 posts • Page 1 of 1
