Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove PostSharp reference after build?

Is is possible to get postsharp to remove references to the postsharp assemblies during a build?

I have an exe i needs to have a very small footprint. I want to use some of the compile time weaving of postsharp but dont want to have to deploy PostSharp.dll with the exe.

I am using PostSharp 2 (2.0.4.1074 specifically)

like image 651
Simon Avatar asked Apr 22 '10 07:04

Simon


1 Answers

As far as I know, this is impossible. References are necessary, since base classes of your aspects are located in public PostSharp assembly.

like image 174
Alex Yakunin Avatar answered Nov 15 '22 01:11

Alex Yakunin