Create the custom AppDomain used in the MSBuild task in an earlier stage.