internal MSBuildEngineWorker(MSBuildEngine parentEngine, MSBuildEngine.BuildRun buildRun) { this.parentEngine = parentEngine; this.buildRun = buildRun; engine = buildRun.CreateEngine(); logger = new SharpDevelopLogger(this); engine.RegisterLogger(logger); foreach (IMSBuildAdditionalLogger loggerProvider in MSBuildEngine.AdditionalMSBuildLoggers) { engine.RegisterLogger(loggerProvider.CreateLogger(this)); } }