|
|
|
Community Member
|
|
Hello,
can i enable or disable postsharp? I have created a simple aspect and try it on a very large project. It takes too much to postsharp making his job. Since the aspect is working, to reduce the compile time i want to disable it because i'm testing other functionalities of the program and once the rest is ok i can enable postsharp to inject his code. Any idea on how to do this?
Thank you
|
|
|
|
|
Gael Fraiteur
SharpCrafters
|
|
|
You can define the compiler constant SkipPostSharp, or the MSBuild property of the same name. The easiest is probably to have many build configurations in Visual Studio and to define the SkipPostSharp constant/property only for the configurations you want.
|
|
|
|
|
Community Member
|
|
I have created a new build configuration and defined the SkipPostSharp symbol. It works!! <!-- s:D --> <!-- s:D -->
thank you
|
|
|
|