PostSharp-Functions not included

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

PostSharp-Functions not included

Postby mreis on Tue Jun 03, 2008 7:14 pm

Hello Gail,

I have a new problem. I have many Projects in my Solution. I have in file "assemblyinfo.cs" the following entry [assembly: SmartTracer]. SmartTracer is my class for PostSharp-Implementation. In some Projects is that ok and the PostSharp-Compiler includes the functions. But other assemlies it is not implements, even if PostSharp-Compiler was runing. Gived a protocoll for the PostSharp-Compile-Process??? What can I do?

Thanks for your help. Mathias
mreis
 
Posts: 6
Joined: Fri Apr 25, 2008 11:29 am
First Name: Mathias
Last Name: Reis

Re: PostSharp-Functions not included

Postby gfraiteur on Wed Jun 04, 2008 4:36 pm

You could debug the compile-time logic of your custom attribute. See the documentation for details about debugging compile-time logic.

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-Functions not included

Postby mreis on Thu Jun 05, 2008 3:44 pm

Hello,

the Problem is the GAC. When a Assemply registered in GAC then not implement the features.

Thanks for your help 8-)
mreis
 
Posts: 6
Joined: Fri Apr 25, 2008 11:29 am
First Name: Mathias
Last Name: Reis

Re: PostSharp-Functions not included

Postby gfraiteur on Thu Jun 05, 2008 4:05 pm

Hu?

I did not understand.

What is registered in GAC?
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


Return to Integration with IDE and Build Scripts