1 instantiation of BuildMessage
Microsoft.Build.Tasks.Core (1)
BootstrapperUtil\BuildMessage.cs (1)
40
return new
BuildMessage
(severity, message, helpKeyword, helpCode);
61 references to BuildMessage
Microsoft.Build.Tasks.Core (61)
BootstrapperUtil\BootstrapperBuilder.cs (40)
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));
277
foreach (
BuildMessage
message in _loopDependenciesWarnings.Messages)
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 (1)
36
internal static
BuildMessage
CreateMessage(BuildMessageSeverity severity, string resourceName, params object[] args)
BootstrapperUtil\BuildResults.cs (4)
20
private readonly List<
BuildMessage
> _messages = new List<
BuildMessage
>();
57
public
BuildMessage
[] Messages
70
internal void AddMessage(
BuildMessage
message)
BootstrapperUtil\Interfaces.cs (1)
254
BuildMessage
[] Messages { 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)
141
BuildMessage
[] messages = results.Messages;
145
foreach (
BuildMessage
message in messages)
GenerateLauncher.cs (2)
81
BuildMessage
[] messages = results.Messages;
84
foreach (
BuildMessage
message in messages)
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));