Compiler.BuildMsi() & logging


Is there any way to get compiler's log? I don't think so because I noticed compiler's code uses Console.WriteLine() without any logger's abstractions or something like that. Could you improve Wix# and add possibility to get compiler's log? :)
Closed Dec 2, 2016 at 11:43 AM by oleg_s
Fied in Release v1.1.0


oleg_s wrote Nov 25, 2016 at 10:26 PM

OK. Agree.
While Wix# was not intended to be used in a hosted scenario outside of building environment like IDE, the feature itself is easy to implement.

oleg_s wrote Nov 26, 2016 at 3:15 AM

Implemented with commit#714039979edb Ready for release.

Now user can define custom output WriteLine (by default it is set to is Console.WriteLine):
Compiler.OutputWriteLine = text => Console.WriteLine("> "+text);

oleg_s wrote Dec 2, 2016 at 11:43 AM

Fied in Release v1.1.0