48 references to OutputMessages
Microsoft.Build.Tasks.Core (48)
GenerateApplicationManifest.cs (1)
237if (!file.ImportComComponent(item.ItemSpec, manifest.OutputMessages, name))
GenerateManifestBase.cs (4)
296_manifest.OutputMessages.LogTaskMessages(this); 297if (_manifest.OutputMessages.ErrorCount > 0) 517if (_manifest.OutputMessages.ErrorCount > 0) 585if (_manifest.OutputMessages.ErrorCount > 0)
ManifestUtil\ApplicationManifest.cs (26)
456OutputMessages.AddErrorMessage("GenerateManifest.DuplicateComDefinition", "clsid", comInfo.ComponentFileName, comInfo.ClsId, comInfo.ManifestFileName, info.ManifestFileName); 468OutputMessages.AddErrorMessage("GenerateManifest.DuplicateComDefinition", "tlbid", comInfo.ComponentFileName, comInfo.TlbId, comInfo.ManifestFileName, info.ManifestFileName); 490OutputMessages.AddErrorMessage("GenerateManifest.DuplicateComDefinition", "clsid", file.ToString(), comClass.ClsId, outputFileName, info.ManifestFileName); 505OutputMessages.AddErrorMessage("GenerateManifest.DuplicateComDefinition", "tlbid", file.ToString(), typeLib.TlbId, outputFileName, info.ManifestFileName); 540OutputMessages.AddWarningMessage("GenerateManifest.ConfigBindingRedirectsWithPartialTrust"); 552OutputMessages.AddErrorMessage("GenerateManifest.InvalidEntryPoint", _entryPoint.ToString()); 563OutputMessages.AddErrorMessage("GenerateManifest.FileAssociationsCountExceedsMaximum", Constants.MaxFileAssociationsCount.ToString(CultureInfo.CurrentUICulture)); 574OutputMessages.AddErrorMessage("GenerateManifest.FileAssociationMissingAttribute"); 580OutputMessages.AddErrorMessage("GenerateManifest.FileAssociationExtensionMissingLeadDot"); 584OutputMessages.AddErrorMessage("GenerateManifest.FileAssociationExtensionTooLong", fileAssociation.Extension, Constants.MaxFileAssociationExtensionLength.ToString(CultureInfo.CurrentUICulture)); 592OutputMessages.AddErrorMessage("GenerateManifest.FileAssociationsDuplicateExtensions", fileAssociation.Extension); 608OutputMessages.AddErrorMessage("GenerateManifest.FileAssociationDefaultIconNotInstalled", fileAssociation.DefaultIcon); 615OutputMessages.AddErrorMessage("GenerateManifest.FileAssociationsApplicationNotFullTrust"); 619OutputMessages.AddErrorMessage("GenerateManifest.FileAssociationsNoEntryPoint"); 634OutputMessages.AddErrorMessage("GenerateManifest.IdentityFileNameMismatch", assembly.ToString(), assembly.AssemblyIdentity.Name, assembly.AssemblyIdentity.Name + Path.GetExtension(assembly.TargetPath)); 659OutputMessages.AddWarningMessage("GenerateManifest.TargetPathTooLong", assembly.ToString(), _maxTargetPath.ToString(CultureInfo.CurrentCulture)); 670OutputMessages.AddWarningMessage("GenerateManifest.DuplicateTargetPath", assembly.ToString()); 679OutputMessages.AddWarningMessage("GenerateManifest.TargetPathTooLong", assembly.AssemblyIdentity.Name, _maxTargetPath.ToString(CultureInfo.CurrentCulture)); 686OutputMessages.AddErrorMessage("GenerateManifest.PrerequisiteNotSigned", assembly.ToString()); 697OutputMessages.AddWarningMessage("GenerateManifest.AssemblyAsFile", file.ToString()); 705OutputMessages.AddWarningMessage("GenerateManifest.TargetPathTooLong", file.TargetPath, _maxTargetPath.ToString(CultureInfo.CurrentCulture)); 716OutputMessages.AddWarningMessage("GenerateManifest.DuplicateTargetPath", file.TargetPath); 739OutputMessages.AddWarningMessage("GenerateManifest.AllowPartiallyTrustedCallers", Path.GetFileNameWithoutExtension(path)); 750OutputMessages.AddWarningMessage("GenerateManifest.AllowPartiallyTrustedCallers", Path.GetFileNameWithoutExtension(path)); 760OutputMessages.AddWarningMessage("GenerateManifest.AllowPartiallyTrustedCallers", Path.GetFileNameWithoutExtension(path)); 767OutputMessages.AddWarningMessage("GenerateManifest.UnmanagedCodePermission", Path.GetFileNameWithoutExtension(path));
ManifestUtil\DeployManifest.cs (5)
563OutputMessages.AddWarningMessage("GenerateManifest.InvalidDeploymentProvider"); 575OutputMessages.AddErrorMessage("GenerateManifest.InvalidEntryPoint", _entryPoint.ToString()); 592OutputMessages.AddErrorMessage("GenerateManifest.HostInBrowserNotOnlineOnly"); 599OutputMessages.AddErrorMessage("GenerateManifest.FileAssociationsNotInstalled"); 615OutputMessages.AddErrorMessage("GenerateManifest.GreaterMinimumRequiredVersion");
ManifestUtil\Manifest.cs (11)
268OutputMessages.AddErrorMessage("GenerateManifest.ResolveFailedInReadOnlyMode", a.ToString(), ToString()); 272OutputMessages.AddErrorMessage("GenerateManifest.ResolveFailedInReadWriteMode", a.ToString()); 296OutputMessages.AddErrorMessage("GenerateManifest.ResolveFailedInReadOnlyMode", f.ToString(), this.ToString()); 300OutputMessages.AddErrorMessage("GenerateManifest.ResolveFailedInReadWriteMode", f.ToString()); 529OutputMessages.AddWarningMessage("GenerateManifest.InvalidValue", "AssemblyName"); 580OutputMessages.AddErrorMessage("GenerateManifest.General", exception.Message); 585OutputMessages.AddErrorMessage("GenerateManifest.General", e.Message); 602OutputMessages.AddErrorMessage("GenerateManifest.General", e.Message); 639OutputMessages.AddWarningMessage("GenerateManifest.DuplicateAssemblyIdentity", identity); 654OutputMessages.AddWarningMessage("GenerateManifest.IdentityFileNameMismatch", assembly.ToString(), assembly.AssemblyIdentity.Name, assembly.AssemblyIdentity.Name + Path.GetExtension(assembly.TargetPath)); 667OutputMessages.AddWarningMessage("GenerateManifest.PlatformMismatch", assembly.ToString());
ResolveNativeReference.cs (1)
229if (!manifest.OutputMessages.LogTaskMessages(this))