59 references to BuildMessageSeverity
Microsoft.Build.Tasks.Core (59)
BootstrapperUtil\BootstrapperBuilder.cs (39)
140
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.InvalidInput"));
146
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.NoOutputPath"));
249
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.General", ex.Message));
297
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.IncludedProductIncluded", builder.Name, p.Name));
317
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.MissingDependency", productDependency[0].Name, builder.Name));
330
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.MissingDependencyMultiple", productCodes, builder.Name));
339
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.DependencyNotFound", builder.Name, missingDependecies[0]));
352
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.MultipleDependeciesNotFound", builder.Name, productCodes));
365
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.MissingSetupBin", SETUP_BIN, bootstrapperPath));
377
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.CopyError", setupSourceFile, strOutputExe, ex.Message));
382
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.CopyError", setupSourceFile, strOutputExe, ex.Message));
387
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.CopyError", setupSourceFile, strOutputExe, ex.Message));
392
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.CopyError", setupSourceFile, strOutputExe, ex.Message));
406
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.InvalidUrl", nameToUseInLog, url));
779
_loopDependenciesWarnings.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.CircularDependency", productsInLoop.ToString()));
1371
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.ProductValidation", builder.Name, builder.Product.ValidationResults.FilePath));
1374
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.ValidationError", builder.Product.ValidationResults.FilePath, validationMessage));
1378
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.ValidationWarning", builder.Product.ValidationResults.FilePath, validationMessage));
1393
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.PackageValidation", builder.Name, package.ValidationResults.FilePath));
1396
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.ValidationError", package.ValidationResults.FilePath, validationMessage));
1400
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.ValidationWarning", package.ValidationResults.FilePath, validationMessage));
1455
_results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.PackageResourceFileNotFound", packageFileSource.Value, builder.Name));
1473
_results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.PackageFileNotFound", packageFileDestination.Value, builder.Name));
1483
_results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.CopyPackageError", packageFileSource.Value, builder.Name, ex.Message));
1489
_results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.CopyPackageError", packageFileSource.Value, builder.Name, ex.Message));
1495
_results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.CopyPackageError", packageFileSource.Value, builder.Name, ex.Message));
1501
_results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.CopyPackageError", packageFileSource.Value, builder.Name, ex.Message));
1541
_results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.PackageResourceFileNotFound", eulaAttribute.Value, builder.Name));
1660
results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.ProductCultureNotFound", builder.Name));
1724
results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.UsingProductCulture", ci.Name, builder.Name, builder.Product.Packages.Item(0).Culture));
1741
results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.UsingProductCulture", culture.Name, builder.Name, altCulture.Name));
1752
_results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.NoResources"));
1763
_results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.NoStringsForCulture", resourcesNode.Attributes.GetNamedItem("Culture").Value));
1863
results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.UsingResourcesCulture", ci.Name, altCulturePair.Key));
1875
results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.UsingResourcesCulture", culture.Name, altCulture.Name));
2077
results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.PackageHomeSiteMissing", builder.Name));
2127
results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.DifferingPublicKeys", PUBLICKEY_ATTRIBUTE, builder.Name, fileSource));
2140
results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Warning, "GenerateBootstrapper.DifferingPublicKeys", "Hash", builder.Name, fileSource));
2148
results?.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.MissingVerificationInformation", fileName, builder.Name));
BootstrapperUtil\BuildMessage.cs (3)
20
private BuildMessage(
BuildMessageSeverity
severity, string message, string helpKeyword, string helpCode)
36
internal static BuildMessage CreateMessage(
BuildMessageSeverity
severity, string resourceName, params object[] args)
46
public
BuildMessageSeverity
Severity { get; }
BootstrapperUtil\Interfaces.cs (1)
269
BuildMessageSeverity
Severity { get; }
BootstrapperUtil\ResourceUpdater.cs (6)
62
results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.General",
77
results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.General",
89
results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.General",
111
results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.General",
121
results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.General",
135
results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateBootstrapper.General",
GenerateBootstrapper.cs (2)
147
if (message.Severity ==
BuildMessageSeverity
.Error)
151
else if (message.Severity ==
BuildMessageSeverity
.Warning)
GenerateLauncher.cs (3)
88
case
BuildMessageSeverity
.Error:
91
case
BuildMessageSeverity
.Warning:
94
case
BuildMessageSeverity
.Info:
ManifestUtil\LauncherBuilder.cs (5)
45
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateLauncher.InvalidInput"));
51
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateLauncher.NoOutputPath"));
75
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateLauncher.General", ex.Message));
85
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateLauncher.MissingLauncherExe", LauncherPath));
97
_results.AddMessage(BuildMessage.CreateMessage(
BuildMessageSeverity
.Error, "GenerateLauncher.CopyError", LauncherPath, strOutputExe, ex.Message));