> a) Why do you have "sometimes" the value for mainclass set and sometimes not?
Because sometimes I'm building a DLL and sometimes an executable depending on whether mainclass is set. > b) You could use conditional targets (<target if="mainclass">) But then I'd have to repeat the target twice. I don't want to do that.
