1 write to Log
Microsoft.Build.Utilities.Core (1)
759 references to Log
Crossgen2Tasks (19)
RunReadyToRunCompiler.cs (18)
93Log.LogError(Strings.CrossgenToolMissingInPDBCompilationMode);
101Log.LogError(Strings.Crossgen2ToolMissingWhenUseCrossgen2IsSet);
106Log.LogError(Strings.Crossgen2ToolExecutableNotFound, Crossgen2Tool.ItemSpec);
112Log.LogError(Strings.DotNetHostExecutableNotFound, hostPath);
120Log.LogError(Strings.JitLibraryNotFound, jitPath);
127Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.JitPath);
135Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.TargetOS);
140Log.LogError(Strings.Crossgen2MissingRequiredMetadata, MetadataKeys.TargetArch);
149Log.LogError(Strings.CrossgenToolMissingWhenUseCrossgen2IsNotSet);
154Log.LogError(Strings.CrossgenToolExecutableNotFound, CrossgenTool.ItemSpec);
159Log.LogError(Strings.JitLibraryNotFound, MetadataKeys.JitPath);
172Log.LogError(Strings.DiaSymReaderLibraryNotFound, DiaSymReader);
179Log.LogError(Strings.MissingOutputPDBImagePath);
184Log.LogError(Strings.PDBGeneratorInputExecutableNotFound, _outputR2RImage);
197Log.LogError(Strings.InputAssemblyNotFound, _inputAssembly);
208Log.LogError(Strings.MissingOutputR2RImageFileName);
214Log.LogError(Strings.MissingOutputPDBImagePath);
402Log.LogMessage(MessageImportance.Normal, singleLine);
ILLink.Tasks (13)
installer.tasks (5)
Microsoft.AspNetCore.Mvc.Testing.Tasks (1)
Microsoft.Build.CommandLine.UnitTests (8)
Microsoft.Build.Engine.UnitTests (8)
BackEnd\CustomLogAndReturnTask.cs (3)
31Log.LogWarning(null, WarningCode, null, null, 0, 0, 0, 0, "Warning Logged!", null);
36Log.LogError(null, ErrorCode, null, null, 0, 0, 0, 0, "Error Logged!", null);
38return ReturnHasLoggedErrors ? !Log.HasLoggedErrors : Return;
Microsoft.Build.Tasks.CodeAnalysis (36)
CopyRefAssembly.cs (9)
38Log.LogErrorWithCodeFromResources("General_ExpectedFileMissing", SourcePath);
51Log.LogMessageFromResources(MessageImportance.High, "CopyRefAssembly_BadSource3", SourcePath, e.Message, e.StackTrace);
56Log.LogMessageFromResources(MessageImportance.High, "CopyRefAssembly_SourceNotRef1", SourcePath);
66Log.LogMessageFromResources(MessageImportance.Low, "CopyRefAssembly_SkippingCopy1", DestinationPath);
70Log.LogMessageFromResources(MessageImportance.Low, "CopyRefAssembly_Changed", SourcePath, File.GetLastWriteTimeUtc(SourcePath).ToString("O"), source, DestinationPath, File.GetLastWriteTimeUtc(DestinationPath).ToString("O"), destination);
74Log.LogMessageFromResources(MessageImportance.High, "CopyRefAssembly_BadDestination1", DestinationPath);
86Log.LogMessageFromResources(MessageImportance.Normal, "CopyRefAssembly_Copying", SourcePath, DestinationPath);
91Log.LogErrorWithCodeFromResources("Compiler_UnexpectedException");
92Log.LogErrorFromException(e, showStackTrace: true, showDetail: true, file: null);
MapSourceRoots.cs (8)
101Log.LogErrorFromResources("MapSourceRoots.PathMustEndWithSlashOrBackslash", Names.SourceRoot, sourceRoot.ItemSpec);
116if (Log.HasLoggedErrors)
138Log.LogErrorFromResources("MapSourceRoots.ContainsDuplicate", Names.SourceRoot, localPath);
160Log.LogErrorFromResources("MapSourceRoots.NoTopLevelSourceRoot", Names.SourceRoot, Names.DeterministicSourcePaths);
181Log.LogErrorFromResources("MapSourceRoots.NoSuchTopLevelSourceRoot", Names.SourceRoot + "." + Names.ContainingRoot, Names.SourceRoot, containingRoot);
194if (!Log.HasLoggedErrors)
199return !Log.HasLoggedErrors;
214Log.LogWarningFromResources("MapSourceRoots.ContainsDuplicate", Names.SourceRoot, left.ItemSpec, metadataName, leftValue, rightValue);
Vbc.cs (7)
282return !Log.HasLoggedErrors;
334Log.LogErrorWithCodeFromResources("VBC_RenamePDB", PdbFile, e.Message);
607Log.LogErrorWithCodeFromResources("Vbc_EnumParameterHasInvalidValue", "Verbosity", this.Verbosity, "Quiet, Normal, Verbose");
695Log.LogMessageFromText(originalVBErrorString, originalVBError.MessageImportance);
708Log.LogMessageFromText(newLine, originalVBError.MessageImportance);
963Log.LogErrorWithCodeFromResources("General_CouldNotSetHostObjectParameter", param, e.Message);
1086Log.LogErrorWithCodeFromResources("General_IncorrectHostObject", "Vbc", "IVbcHostObject");
Microsoft.Build.Tasks.CodeAnalysis.UnitTests (11)
Microsoft.Build.Tasks.Core (41)
GenerateManifestBase.cs (14)
193Log.LogErrorWithCodeFromResources("GenerateManifest.NoIdentity");
277Log.LogErrorWithCodeFromResources("General.TaskRequiresWindows", nameof(GenerateManifestBase));
373Log.LogWarningWithCodeFromResources("GenerateManifest.InvalidItemValue", "AssemblyType", item.ItemSpec);
377Log.LogWarningWithCodeFromResources("GenerateManifest.InvalidItemValue", "AssemblyType", item.ItemSpec);
404Log.LogWarningWithCodeFromResources("GenerateManifest.InvalidItemValue", "DependencyType", item.ItemSpec);
408Log.LogWarningWithCodeFromResources("GenerateManifest.InvalidItemValue", "DependencyType", item.ItemSpec);
459Log.LogErrorWithCodeFromResources("GenerateManifest.ReadInputManifestFailed", InputManifest.ItemSpec, ex.Message);
466Log.LogErrorWithCodeFromResources("GenerateManifest.InvalidInputManifest");
557Log.LogErrorWithCodeFromResources("GenerateManifest.InvalidValue", "AssemblyName");
562Log.LogErrorWithCodeFromResources("GenerateManifest.InvalidValue", "AssemblyVersion");
567Log.LogErrorWithCodeFromResources("GenerateManifest.InvalidValue", "TargetCulture");
575Log.LogErrorWithCodeFromResources("GenerateManifest.InvalidValue", "Platform");
596Log.LogWarningWithCodeFromResources("GenerateManifest.TargetPathTooLong", manifestFileName, MaxTargetPath);
623Log.LogErrorWithCodeFromResources("GenerateManifest.WriteOutputManifestFailed", OutputManifest.ItemSpec, ex.Message, lockedFileMessage);
Microsoft.Build.Utilities.Core (15)
Microsoft.Build.Utilities.UnitTests (35)
TaskLoggingHelper_Tests.cs (33)
26string code = t.Log.ExtractMessageCode("AL001: This is a message.", out messageOnly);
31code = t.Log.ExtractMessageCode(" AL001: This is a message.", out messageOnly);
36code = t.Log.ExtractMessageCode("AL001 : This is a message.", out messageOnly);
41code = t.Log.ExtractMessageCode(" RESGEN7905001: This is a message.", out messageOnly);
46code = t.Log.ExtractMessageCode("R7: This is a message.", out messageOnly);
51code = t.Log.ExtractMessageCode("alink3456: This is a message.", out messageOnly);
56code = t.Log.ExtractMessageCode(" RES 7905: This is a message.", out messageOnly);
61code = t.Log.ExtractMessageCode("7905: This is a message.", out messageOnly);
66code = t.Log.ExtractMessageCode("ALINK: This is a message.", out messageOnly);
71code = t.Log.ExtractMessageCode("6780ALINK: This is a message.", out messageOnly);
76code = t.Log.ExtractMessageCode("LNK658A: This is a message.", out messageOnly);
98t.Log.LogMessagesFromStream(sr, MessageImportance.High).ShouldBeTrue();
102t.Log.LogMessagesFromStream(sr, MessageImportance.Low).ShouldBeFalse();
106t.Log.LogMessagesFromStream(sr, MessageImportance.High).ShouldBeFalse();
116t.Log.LogCommandLine("MySuperCommand");
132t.Log.LogMessage("echo {");
133t.Log.LogMessageFromText("{1", MessageImportance.High);
134t.Log.LogCommandLine("{2");
135t.Log.LogWarning("{3");
136t.Log.LogError("{4");
153t.Log.LogErrorFromResources("MySubcategoryResource", null,
156t.Log.LogErrorFromResources("MyErrorResource", "foo");
158t.Log.LogWarningFromResources("MySubcategoryResource", null,
161t.Log.LogWarningFromResources("MyWarningResource", "foo");
191t.Log.LogMessagesFromFile(file, MessageImportance.High);
200t.Log.LogMessagesFromFile(file);
224t.Log.FormatResourceString("bogus");
256task.Log.LogErrorFromException(e);
264task.Log.LogWarningFromException(e);
271task.Log.LogErrorFromException(e, true);
279task.Log.LogWarningFromException(e, true);
285task.Log.LogErrorFromException(e, true, true, "foo.cs");
308task.Log.LogErrorFromException(aggregateException);
Microsoft.DotNet.Arcade.Sdk (79)
Microsoft.DotNet.Build.Tasks.Feed (42)
Microsoft.DotNet.Build.Tasks.Feed.Tests (1)
Microsoft.DotNet.Build.Tasks.Packaging (4)
Microsoft.DotNet.Build.Tasks.Templating (5)
GenerateFileFromTemplate.cs (5)
63Log.LogError($"File {TemplateFile} does not exist");
67IDictionary<string, string> values = MSBuildListSplitter.GetNamedProperties(Properties, Log);
74return !Log.HasLoggedErrors;
129Log.LogWarning(null, null, null, TemplateFile,
141Log.LogWarning(null, null, null, TemplateFile,
Microsoft.DotNet.Build.Tasks.VisualStudio (17)
Microsoft.DotNet.Build.Tasks.Workloads (15)
CreateVisualStudioWorkload.wix.cs (9)
150string.IsNullOrWhiteSpace(ManifestMsiVersion) ? null : new Version(ManifestMsiVersion), ShortNames, Log, EnableSideBySideManifests);
156Log.LogMessage(MessageImportance.Low, $"Setting {nameof(_supportsMachineArch)} to {manifestPackage.SupportsMachineArch} for {Path.GetFileName(manifestPackage.PackageFileName)}");
163Log.LogWarning($"{_supportsMachineArch} was previously set to {_supportsMachineArch[manifestPackage.SdkFeatureBand]}");
182Log.LogError(Strings.ManifestPackageGroupExists, manifestPackage.Id, packageGroup.Name);
238Log.LogMessage($"Pack {sourcePackage} - {string.Join(",", platforms)} could not be found, it will be skipped.");
251ShortNames, Log));
321Log.LogError(Strings.WorkloadComponentExists, workload.Id, component.Name);
326Log.LogError(Strings.WorkloadComponentExists, workload.Id, previewComponent.Name);
338Log.LogMessage(MessageImportance.Low, string.Format(Strings.BuildExtractingPackage, data.Package.PackagePath));
Microsoft.DotNet.Deployment.Tasks.Links (10)
Microsoft.DotNet.Helix.Sdk (148)
AzureDevOpsTask.cs (11)
52Log.LogError(FailureCategory.Build, "This task must be run inside an Azure Pipelines Build");
78Log.LogErrorFromException(FailureCategory.Helix, ex, true);
81return !Log.HasLoggedErrors;
95ex => Log.LogMessage(MessageImportance.Low, $"Azure Dev Ops Operation failed: {ex}\nRetrying..."),
100Log.LogError(FailureCategory.Helix, ex.ToString());
111ex => Log.LogMessage(MessageImportance.Normal, $"Azure Dev Ops Operation failed: {ex}\nRetrying..."),
116Log.LogError(FailureCategory.Helix, ex.ToString());
125Log.LogError(
136Log.LogError(FailureCategory.Build, message);
141Log.LogMessage(MessageImportance.Normal, message);
162Log.LogError(FailureCategory.Helix, $"Request to {req.RequestUri} returned unexpected response: {responseContent}");
CheckAzurePipelinesTestResults.cs (11)
69Log.LogWarning($"Test run {testRunId} is not in completed state. Will check back in 10 seconds.");
85Log.LogMessage(MessageImportance.Low, $"Test run {testRunId} has not failed.");
122Log.LogError(FailureCategory.Test, $"Test run {testRunId} has one or more failing tests based on run statistics, but I couldn't find the failures.");
150Log.LogError(FailureCategory.Test, $"Test {name} has failed. Check the Test tab or this console log: {workItem.GetMetadata("ConsoleOutputUri")}");
154Log.LogError(FailureCategory.Test, $"Test {name} has failed. Check the Test tab for details.");
187Log.LogError(FailureCategory.Test, message);
191Log.LogMessage(MessageImportance.High, message);
197Log.LogError(FailureCategory.Helix, "Unable to get test report from build.");
230Log.LogMessage($"TestRun {runId}: Test {testName} has failed and was expected to fail.");
234Log.LogError(FailureCategory.Test, $"TestRun {runId}: Test {testName} has failed and is not expected to fail.");
240Log.LogError(FailureCategory.Test, $"TestRun {runId}: Test {expectedFailure} was expected to fail but did not fail.");
FindDotNetCliPackage.cs (18)
64collection.TryAddSingleton(Log);
72return !Log.HasLoggedErrors;
98Log.LogMessage($"Could not retrieve dotnet cli {PackageType} version {Version} package uri from feed {feed}");
102Log.LogMessage($"Retrieved dotnet cli {PackageType} version {Version} package uri {SanitizeString(downloadUrl)} from feed {feed}, testing...");
111Log.LogMessage($"Unable to find dotnet cli {PackageType} version {Version} from feed {feed}");
121Log.LogMessage($"Unable to access dotnet cli {PackageType} version {Version} from feed {feed}, {SanitizeString(ex.Message)}");
127Log.LogError(FailureCategory.Build, $"Unable to find dotnet cli {PackageType} version {Version} from any of the specified feeds.");
131if (!Log.HasLoggedErrors)
133Log.LogMessage($"Url {SanitizeString(finalDownloadUrl)} is valid.");
163Log.LogWarning($"Unable to resolve download link from feed {feed}; {SanitizeString(ex.Message)}");
195Log.LogMessage($"Switched to effective .NET Core version '{productVersionText}' from matching productVersion.txt");
205Log.LogMessage(MessageImportance.Low, $"Checking for productVersion.txt files under {baseUri}");
219Log.LogMessage(MessageImportance.Low, $"No *productVersion.txt files found for {Version} under {SanitizeString(baseUri)}");
248Log.LogMessage(MessageImportance.Low, $"Hit exception in GetAsync(); will retry up to 10 times ({SanitizeString(toLog.Message)})");
272Log.LogMessage(MessageImportance.Low, $"Hit exception in SendAsync(); will retry up to 10 times ({SanitizeString(toLog.Message)})");
326Log.LogMessage(MessageImportance.Low, "Resolving latest dotnet cli version.");
334Log.LogMessage(MessageImportance.Low, $"Resolving latest version from url {latestVersionUrl}");
342Log.LogMessage(MessageImportance.Low, $"Got latest dotnet cli version {version}");
HelixTask.cs (9)
42Log.LogMessage(MessageImportance.Low, "No AccessToken provided, using anonymous access to helix api.");
46Log.LogMessage(MessageImportance.Low, "Authenticating to helix api using provided AccessToken");
65Log.LogError(FailureCategory.Build, "Helix operation returned 'Unauthorized'. Did you forget to set HelixAccessToken?");
69Log.LogError(FailureCategory.Build, "Helix operation returned 'Forbidden'.");
80Log.LogError(FailureCategory.Build, argEx.Message);
84Log.LogWarning($"{argEx.Message} (FailOnMissingTargetQueue is false, so this is just a warning.)");
89Log.LogErrorFromException(FailureCategory.Helix, ex, true, true, null);
92return !Log.HasLoggedErrors;
99Log.LogMessage(MessageImportance.Low, $"Checking for job completion failed with: {ex}\nRetrying...");
SendHelixJob.cs (34)
169Log.LogError(FailureCategory.Build, "Creator is required when using anonymous access.");
175Log.LogError(FailureCategory.Build, "Creator is forbidden when using authenticated access.");
191Log.LogMessage($"Initialized job definition with type '{Type}', and target queue '{TargetQueue}'");
196Log.LogMessage($"Setting creator to '{Creator}'");
201Log.LogMessage($"No Correlation Payloads for Job on {TargetQueue} set");
205Log.LogMessage($"Adding Correlation Payloads for Job on {TargetQueue}...");
222Log.LogError(FailureCategory.Build, "SendHelixJob given no WorkItems to send.");
262if (Log.HasLoggedErrors)
267Log.LogMessage(MessageImportance.High, $"Sending Job to {TargetQueue}...");
270ISentJob job = await def.SendAsync(msg => Log.LogMessageFromText(msg, MessageImportance.Normal), cancellationToken);
292Log.LogMessage($"Added build variable property '{key}' (value: '{value}') to job definition.");
303if (!property.GetRequiredMetadata(Log, MetadataNames.Identity, out string key))
308if (!property.GetRequiredMetadata(Log, MetadataNames.Value, out string value))
314Log.LogMessage($"Added property '{key}' (value: '{value}') to job definition.");
320if (!workItem.GetRequiredMetadata(Log, MetadataNames.Identity, out string name))
327Log.LogWarning($"Work Item named '{name}' contains encoded characters which is not recommended.");
334Log.LogWarning($"Work Item named '{name}' contains unsupported characters and has been renamed to '{cleanedName}'.");
339if (!workItem.GetRequiredMetadata(Log, MetadataNames.Command, out string command))
344Log.LogMessage(MessageImportance.Low, $"Adding work item '{name}'");
353Log.LogMessage(MessageImportance.Low, $" Command: '{commands[0]}'");
361Log.LogMessage(MessageImportance.Low, $" Command File: '{commandFile}'");
364Log.LogMessage(MessageImportance.Low, $" {c}");
375Log.LogMessage(MessageImportance.Low, $" Uri Payload: '{payloadUri}'");
380Log.LogMessage(MessageImportance.Low, $" Directory Payload: '{payloadDirectory}'");
385Log.LogMessage(MessageImportance.Low, $" Archive Payload: '{payloadArchive}'");
390Log.LogMessage(MessageImportance.Low, " Empty Payload");
400Log.LogMessage(MessageImportance.Low, $" Timeout: '{timeout}'");
404Log.LogWarning($"Timeout value '{timeoutString}' could not be parsed.");
409Log.LogMessage(MessageImportance.Low, " Default Timeout");
514Log.LogMessage(MessageImportance.Low, $"Adding Correlation Payload URI '{uri}', destination '{destination}'");
534Log.LogMessage(
554Log.LogMessage(
561Log.LogMessage(
568Log.LogError(FailureCategory.Build, $"Correlation Payload '{path}' not found.");
Microsoft.DotNet.NuGetRepack.Tasks (18)
Microsoft.DotNet.SignTool (36)
Microsoft.DotNet.SourceBuild.Tasks (18)
Microsoft.DotNet.SwaggerGenerator.MSBuild (8)
GenerateSwaggerCode.cs (8)
44Log.LogErrorFromException(ex, true, true, null);
47return !Log.HasLoggedErrors;
59Log.LogMessage(MessageImportance.Low, $"Reading swagger document {SwaggerDocumentUri}");
65Log.LogWarning(null, null, null, error.Pointer, 0, 0, 0, 0, error.Message);
70Log.LogMessage(MessageImportance.Low, $"Generating client code model");
74Log.LogMessage(MessageImportance.Low, $"Generating code files for language '{options.LanguageName}'");
78Log.LogMessage(MessageImportance.High, $"Generating {SwaggerDocumentUri} -> {OutputDirectory}");
88Log.LogMessage(MessageImportance.Normal, $"Writing file '{file.FullName}'");
Microsoft.DotNet.VersionTools.Tasks (12)
Microsoft.DotNet.XliffTasks (4)
Microsoft.Extensions.ApiDescription.Client (3)
Microsoft.Extensions.ApiDescription.Client.Tests (10)
Microsoft.Maui.Resizetizer (41)
GenerateSplashAndroidResources.cs (10)
31 Log.LogMessage(MessageImportance.Low, $"Splash Screen: Intermediate Path " + IntermediateOutputPath);
36 Log.LogMessage(MessageImportance.Low, $"Splash Screen: No images found.");
51 return !Log.HasLoggedErrors;
55 Log.LogError(null, "MAUI0000", null, null, 0, 0, 0, 0, ex.ToString());
71 Log.LogMessage(MessageImportance.Low, $"Splash Screen Resize: " + dpi);
79 Log.LogMessage(MessageImportance.Low, $"Splash Screen Copy: " + dpi);
91 Log.LogMessage(MessageImportance.Low, $"Splash Screen Colors: " + colorsFile);
115 Log.LogMessage(MessageImportance.Low, $"Splash Screen Drawable: " + drawableFile);
141 Log.LogMessage(MessageImportance.Low, $"Splash Screen Drawable (v31): " + drawableFile);
163 Log?.LogMessage(message);
GenerateSplashStoryboard.cs (8)
26 Log.LogMessage(MessageImportance.Low, $"Splash Screen: Intermediate Path " + IntermediateOutputPath);
47 return !Log.HasLoggedErrors;
51 Log.LogError(null, "MAUI0000", null, null, 0, 0, 0, 0, ex.ToString());
62 Log.LogMessage(MessageImportance.Low, $"Splash Screen Resize: " + dpi);
70 Log.LogMessage(MessageImportance.Low, $"Splash Screen Copy: " + dpi);
80 Log.LogMessage(MessageImportance.Low, $"Splash Screen Storyboard: " + storyboardFile);
101 Log.LogMessage(MessageImportance.Low, $"Splash Screen Storyboard (empty): " + storyboardFile);
145 Log?.LogMessage(message);
PortableTask (5)
PresentationBuildTasks (85)
Microsoft\Build\Tasks\Windows\FileClassifier.cs (6)
81TaskHelper.DisplayLogo(Log, nameof(FileClassifier));
115errorId = Log.ExtractMessageCode(e.Message, out message);
123Log.LogError(null, errorId, null, null, 0, 0, 0, 0, message, null);
131Log.LogErrorWithCodeFromResources(nameof(SR.NonClsError));
279Log.LogErrorWithCodeFromResources(nameof(SR.TargetIsNotSupported), targetType);
290Log.LogErrorWithCodeFromResources(nameof(SR.InvalidCulture), Culture);
Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (24)
95TaskHelper.DisplayLogo(Log, nameof(MarkupCompilePass1));
127Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.CurrentDirectory), SourceDir);
134Log.LogErrorWithCodeFromResources(nameof(SR.WrongPropertySetting));
148Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.AnalysisResult), CompilerAnalyzer.AnalyzeResult);
158Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.RecompiledXaml), CompilerAnalyzer.RecompileMarkupPages[i]);
178Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.CompilationDone));
188errorId = Log.ExtractMessageCode(e.Message, out message);
196Log.LogError(null, errorId, null, null, 0, 0, 0, 0, message, null);
202Log.LogErrorWithCodeFromResources(nameof(SR.NonClsError));
216Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.CompileSucceed_Pass1));
905Log.LogErrorWithCodeFromResources(nameof(SR.MultipleSplashScreenImages));
926Log.LogErrorWithCodeFromResources(nameof(SR.AppDefIsNotRequired));
941Log.LogErrorWithCodeFromResources(nameof(SR.MutlipleApplicationFiles));
946Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.ApplicationDefinitionFile), ApplicationFile);
950Log.LogErrorWithCodeFromResources(nameof(SR.FileNotFound), ApplicationFile);
985Log.LogErrorWithCodeFromResources(nameof(SR.TargetIsNotSupported), outputType);
1003Log.LogErrorWithCodeFromResources(nameof(SR.WrongLocalizationPropertySetting_Pass1));
1045Log.LogErrorWithCodeFromResources(nameof(SR.FileNotFound), filePath);
1137Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.ReferenceFile), refpath);
1207Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.DoCompilation));
1208Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.OutputType), OutputType);
1230compilerWrapper.TaskLogger = Log;
1480Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.GeneratedCodeFile), codeItem.ItemSpec);
1489Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.GeneratedBamlFile), bamlItem.ItemSpec);
Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (18)
78TaskHelper.DisplayLogo(Log, nameof(MarkupCompilePass2));
89Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.CurrentDirectory), SourceDir);
96Log.LogErrorWithCodeFromResources(nameof(SR.WrongPropertySetting));
133Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.CompilationDone));
142errorId = Log.ExtractMessageCode(e.Message, out message);
150Log.LogError(null, errorId, null, null, 0, 0, 0, 0, message, null);
157Log.LogErrorWithCodeFromResources(nameof(SR.NonClsError));
207Log.LogMessageFromResources(nameof(SR.CompileSucceed_Pass2));
566Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.PreparingCompile));
567Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.OutputType), OutputType);
579Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.LocalRefAppDefFile), localApplicationFile);
594Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.LocalRefMarkupPage), localPageFile);
629Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.DoCompilation));
643compilerWrapper.TaskLogger = Log;
685Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.InternalTypeHelperNotRequired), _internalTypeHelperFile);
732Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.LocalRefGeneratedBamlFile), bamlItem.ItemSpec);
751Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.LocalRefGeneratedBamlFile), bamlItem.ItemSpec);
827Log.LogErrorWithCodeFromResources(nameof(SR.TargetIsNotSupported), outputType);
Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (10)
148TaskHelper.DisplayLogo(Log, nameof(ResourcesGenerator));
164Log.LogErrorWithCodeFromResources(nameof(SR.MoreResourcesFiles));
178Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.ResourcesGenerating), resourcesFile);
192Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.ReadResourceFile), resFileName);
193Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.ResourceId), resourceId);
200Log.LogMessageFromResources(MessageImportance.Low, nameof(SR.ResourcesGenerated), resourcesFile);
212string errorId = Log.ExtractMessageCode(e.Message, out message);
220Log.LogError(null, errorId, null, null, 0, 0, 0, 0, message, null);
227Log.LogErrorWithCodeFromResources(nameof(SR.NonClsError));
307Log.LogErrorWithCodeFromResources(nameof(SR.FileNotFound), strFileName);
Microsoft\Build\Tasks\Windows\UidManager.cs (15)
74TaskHelper.DisplayLogo(Log, nameof(UidManager));
78Log.LogErrorWithCodeFromResources(nameof(SR.SourceFileNameNeeded));
88Log.LogErrorWithCodeFromResources(nameof(SR.BadUidTask), _taskAsString);
110errorId = Log.ExtractMessageCode(e.Message, out message);
118Log.LogError(null, errorId, null, null, 0, 0, 0, 0, message, null);
126Log.LogErrorWithCodeFromResources(nameof(SR.NonClsError));
215Log.LogMessageFromResources(nameof(SR.CheckingUids), inputFile.ItemSpec);
343Log.LogMessageFromResources(nameof(SR.FilesRemovedUid), countGoodFiles);
347Log.LogMessageFromResources(nameof(SR.FilesUpdatedUid), countGoodFiles);
351Log.LogMessageFromResources(nameof(SR.FilesPassedUidCheck), countGoodFiles);
355Log.LogErrorWithCodeFromResources(nameof(SR.FilesFailedUidCheck), _markupFiles.Length - countGoodFiles);
408Log.LogErrorWithCodeFromResources(nameof(SR.IntermediateDirectoryError), _backupPath);
415Log.LogErrorWithCodeFromResources(nameof(SR.IntermediateDirectoryError), _backupPath);
445Log.LogErrorWithCodeFromResources(
462Log.LogErrorWithCodeFromResources(
SemanticSearch.BuildTask (5)
TaskWithDependency (1)