Question

I got the .Net Demon trial from RedGate and it seemed to be working great, but I just realized a PostSharp aspect I'm using is being ignored and I'm not sure why... wondering if it has to do with the fact that they both do stuff with the build system.

Is anyone else using them together successfuly? I'd like to buy .Net Demon, but not if my PostSharp stuff won't work, of course. Not sure if it's related or not yet though.

Was it helpful?

Solution

We (SharpCrafters) do not officially support .NET Demon. Since Demon is an incremental compiler and PostSharp does not support incremental compilation (it compiles the whole assembly every time), I doubt it could work and, if it worked, I doubt it would have any effect on performance. Since the build time is typically dominated by PostSharp, reducing the time of the C# compiler would not significantly reduce your complete build time.

OTHER TIPS

.NET Demon compiles the whole assembly each time it compiles, including any post-build steps that are in the .csproj. I don't see why it shouldn't work. Look in the build output to see whether any logging normally produced by PostSharp is there.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top