Simon
Simon

Reputation: 34880

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)

Upvotes: 7

Views: 1478

Answers (1)

Alex Yakunin
Alex Yakunin

Reputation: 6678

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

Upvotes: 2

Related Questions