29 references to AddErrorMessage
Microsoft.Build.Tasks.Core (29)
ManifestUtil\ApplicationManifest.cs (15)
456
OutputMessages.
AddErrorMessage
("GenerateManifest.DuplicateComDefinition", "clsid", comInfo.ComponentFileName, comInfo.ClsId, comInfo.ManifestFileName, info.ManifestFileName);
468
OutputMessages.
AddErrorMessage
("GenerateManifest.DuplicateComDefinition", "tlbid", comInfo.ComponentFileName, comInfo.TlbId, comInfo.ManifestFileName, info.ManifestFileName);
490
OutputMessages.
AddErrorMessage
("GenerateManifest.DuplicateComDefinition", "clsid", file.ToString(), comClass.ClsId, outputFileName, info.ManifestFileName);
505
OutputMessages.
AddErrorMessage
("GenerateManifest.DuplicateComDefinition", "tlbid", file.ToString(), typeLib.TlbId, outputFileName, info.ManifestFileName);
552
OutputMessages.
AddErrorMessage
("GenerateManifest.InvalidEntryPoint", _entryPoint.ToString());
563
OutputMessages.
AddErrorMessage
("GenerateManifest.FileAssociationsCountExceedsMaximum", Constants.MaxFileAssociationsCount.ToString(CultureInfo.CurrentUICulture));
574
OutputMessages.
AddErrorMessage
("GenerateManifest.FileAssociationMissingAttribute");
580
OutputMessages.
AddErrorMessage
("GenerateManifest.FileAssociationExtensionMissingLeadDot");
584
OutputMessages.
AddErrorMessage
("GenerateManifest.FileAssociationExtensionTooLong", fileAssociation.Extension, Constants.MaxFileAssociationExtensionLength.ToString(CultureInfo.CurrentUICulture));
592
OutputMessages.
AddErrorMessage
("GenerateManifest.FileAssociationsDuplicateExtensions", fileAssociation.Extension);
608
OutputMessages.
AddErrorMessage
("GenerateManifest.FileAssociationDefaultIconNotInstalled", fileAssociation.DefaultIcon);
615
OutputMessages.
AddErrorMessage
("GenerateManifest.FileAssociationsApplicationNotFullTrust");
619
OutputMessages.
AddErrorMessage
("GenerateManifest.FileAssociationsNoEntryPoint");
634
OutputMessages.
AddErrorMessage
("GenerateManifest.IdentityFileNameMismatch", assembly.ToString(), assembly.AssemblyIdentity.Name, assembly.AssemblyIdentity.Name + Path.GetExtension(assembly.TargetPath));
686
OutputMessages.
AddErrorMessage
("GenerateManifest.PrerequisiteNotSigned", assembly.ToString());
ManifestUtil\ComImporter.cs (3)
114
outputMessages.
AddErrorMessage
("GenerateManifest.ComImport", outputDisplayName, _resources.GetString("ComImporter.NoRegisteredClasses"));
120
outputMessages.
AddErrorMessage
("GenerateManifest.ComImport", outputDisplayName, _resources.GetString("ComImporter.TypeLibraryLoadFailure"));
261
_outputMessages.
AddErrorMessage
("GenerateManifest.ComImport", _outputDisplayName, String.Format(CultureInfo.CurrentCulture, _resources.GetString("ComImporter.MissingValue"), classKey.Name + "\\InProcServer32", "(Default)"));
ManifestUtil\DeployManifest.cs (4)
575
OutputMessages.
AddErrorMessage
("GenerateManifest.InvalidEntryPoint", _entryPoint.ToString());
592
OutputMessages.
AddErrorMessage
("GenerateManifest.HostInBrowserNotOnlineOnly");
599
OutputMessages.
AddErrorMessage
("GenerateManifest.FileAssociationsNotInstalled");
615
OutputMessages.
AddErrorMessage
("GenerateManifest.GreaterMinimumRequiredVersion");
ManifestUtil\Manifest.cs (7)
268
OutputMessages.
AddErrorMessage
("GenerateManifest.ResolveFailedInReadOnlyMode", a.ToString(), ToString());
272
OutputMessages.
AddErrorMessage
("GenerateManifest.ResolveFailedInReadWriteMode", a.ToString());
296
OutputMessages.
AddErrorMessage
("GenerateManifest.ResolveFailedInReadOnlyMode", f.ToString(), this.ToString());
300
OutputMessages.
AddErrorMessage
("GenerateManifest.ResolveFailedInReadWriteMode", f.ToString());
580
OutputMessages.
AddErrorMessage
("GenerateManifest.General", exception.Message);
585
OutputMessages.
AddErrorMessage
("GenerateManifest.General", e.Message);
602
OutputMessages.
AddErrorMessage
("GenerateManifest.General", e.Message);