Created and used attribute but it doesn't work

Questions about integration in Visual Studio, MSBuild or other IDEs or build tools.

Created and used attribute but it doesn't work

Postby papadi on Sun Jul 27, 2008 7:44 pm

Hi!
I created a simple attribute for tracing. I used this attribute in some of my methods. What else do I need to do to make it work? On code in my OnEntry/OnExit methods does not run.
I suppose I have to do some manual changes to my .csproj files?
Last edited by papadi on Tue Jul 29, 2008 11:36 am, edited 1 time in total.
papadi
 
Posts: 4
Joined: Sun Jul 27, 2008 7:35 pm
Last Name: Dimitris

Re: Created and used attribute but it doesn't work

Postby gfraiteur on Sun Jul 27, 2008 7:58 pm

Indeed.

This is documented. See for instance http://doc.postsharp.org/1.0/UserGuide/ ... Sharp.html.
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: Created and used attribute but it doesn't work

Postby papadi on Tue Jul 29, 2008 11:30 am

This was really helpful.
ps. this is one of the most elegant projects I've seen! Project, web site and all related stuff is great!
papadi
 
Posts: 4
Joined: Sun Jul 27, 2008 7:35 pm
Last Name: Dimitris


Return to Integration with IDE and Build Scripts