private void InstallLoaderTargets(ProcessedArgs args) { if (args.InstallLoaderTargets) { ITargetsInstaller installer = this.factory.CreateTargetInstaller(); Debug.Assert(installer != null, "Factory should not return null"); installer.InstallLoaderTargets(this.logger, Directory.GetCurrentDirectory()); } else { this.logger.LogDebug(Resources.MSG_NotCopyingTargets); } }