120 references to LogMessageFromResources
Microsoft.Build.Tasks.CodeAnalysis (7)
CopyRefAssembly.cs (6)
51
Log.
LogMessageFromResources
(MessageImportance.High, "CopyRefAssembly_BadSource3", SourcePath, e.Message, e.StackTrace);
56
Log.
LogMessageFromResources
(MessageImportance.High, "CopyRefAssembly_SourceNotRef1", SourcePath);
66
Log.
LogMessageFromResources
(MessageImportance.Low, "CopyRefAssembly_SkippingCopy1", DestinationPath);
70
Log.
LogMessageFromResources
(MessageImportance.Low, "CopyRefAssembly_Changed", SourcePath, File.GetLastWriteTimeUtc(SourcePath).ToString("O"), source, DestinationPath, File.GetLastWriteTimeUtc(DestinationPath).ToString("O"), destination);
74
Log.
LogMessageFromResources
(MessageImportance.High, "CopyRefAssembly_BadDestination1", DestinationPath);
86
Log.
LogMessageFromResources
(MessageImportance.Normal, "CopyRefAssembly_Copying", SourcePath, DestinationPath);
ManagedCompiler.cs (1)
1117
Log.
LogMessageFromResources
(MessageImportance.Normal, "General_ParameterUnsupportedOnHostCompiler", parameterName);
Microsoft.Build.Tasks.Core (82)
AssemblyDependency\GenerateBindingRedirects.cs (2)
137
Log.
LogMessageFromResources
(MessageImportance.Low, "GenerateBindingRedirects.CreatingBindingRedirectionFile", OutputAppConfigFile.ItemSpec);
371
Log.
LogMessageFromResources
(MessageImportance.Low, "GenerateBindingRedirects.ProcessingSuggestedRedirect", redirectStr, maxVerStr);
AssemblyDependency\ResolveAssemblyReference.cs (10)
1194
Log.
LogMessageFromResources
(
2896
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveAssemblyReference.TargetFrameworkSubsetLogHeader");
2898
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveAssemblyReference.TargetFrameworkRedistLogHeader");
2907
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveAssemblyReference.TargetFrameworkAllowListLogHeader");
2921
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveAssemblyReference.TargetFrameworkExclusionListLogHeader");
2924
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveAssemblyReference.FourSpaceIndent", assemblyFullName);
2950
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveAssemblyReference.NoExclusionListBecauseofFullClientName", subsetName);
2972
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveAssemblyReference.UsingExclusionList");
3081
Log.
LogMessageFromResources
(MessageImportance.Normal, "ResolveAssemblyReference.BadTargetFrameworkFormat", version);
3113
Log.
LogMessageFromResources
(MessageImportance.Normal, "ResolveAssemblyReference.IgnoringBecauseNonEmptySubtype", assembly.ItemSpec, subType);
AssignCulture.cs (1)
197
Log.
LogMessageFromResources
(
AssignProjectConfiguration.cs (2)
204
Log.
LogMessageFromResources
(MessageImportance.Low, "AssignProjectConfiguration.ProjectConfigurationResolutionSuccess", projectRef.ItemSpec, resolvedReference.GetMetadata(attrFullConfiguration));
235
Log.
LogMessageFromResources
(MessageImportance.Low, "AssignProjectConfiguration.ProjectConfigurationUnresolved", projectRef.ItemSpec);
CreateManifestResourceName.cs (5)
134
Log.
LogMessageFromResources
(MessageImportance.Low, "CreateManifestResourceName.RootNamespace", RootNamespace);
138
Log.
LogMessageFromResources
(MessageImportance.Low, "CreateManifestResourceName.NoRootNamespace");
192
Log.
LogMessageFromResources
(MessageImportance.Low, "CreateManifestResourceName.DependsUpon", fileName, dependentUpon);
196
Log.
LogMessageFromResources
(MessageImportance.Low, "CreateManifestResourceName.DependsUponNothing", fileName);
241
Log.
LogMessageFromResources
(MessageImportance.Low, "CreateManifestResourceName.AssignedName", fileName, manifestName);
Delete.cs (2)
131
Log.
LogMessageFromResources
(MessageImportance.Normal, "Delete.DeletingFile", file.ItemSpec);
138
Log.
LogMessageFromResources
(MessageImportance.Low, "Delete.SkippingNonexistentFile", file.ItemSpec);
DownloadFile.cs (2)
185
Log.
LogMessageFromResources
(MessageImportance.Normal, "DownloadFile.DidNotDownloadBecauseOfFileMatch", SourceUrl, destinationFile.FullName, nameof(SkipUnchangedFiles), "true");
203
Log.
LogMessageFromResources
(MessageImportance.High, "DownloadFile.Downloading", SourceUrl, destinationFile.FullName, response.Content.Headers.ContentLength);
Exec.cs (1)
317
Log.
LogMessageFromResources
(MessageImportance.Normal, "Exec.CommandFailedNoErrorCode", Command, ExitCode);
FileIO\WriteLinesToFile.cs (3)
118
Log.
LogMessageFromResources
(MessageImportance.Low, "WriteLinesToFile.SkippingUnchangedFile", File.ItemSpec);
132
Log.
LogMessageFromResources
(MessageImportance.Low, "WriteLinesToFile.ErrorReadingFile", File.ItemSpec);
143
Log.
LogMessageFromResources
(MessageImportance.Normal, "WriteLinesToFile.UnusedWriteOnlyWhenDifferent", File.ItemSpec);
FindAppConfigFile.cs (2)
137
Log.
LogMessageFromResources
(MessageImportance.Low, "FindInList.Found", AppConfigFile.ItemSpec);
145
Log.
LogMessageFromResources
(MessageImportance.Low, "FindInList.InvalidPath", item.ItemSpec, ex.Message);
FindInList.cs (2)
113
Log.
LogMessageFromResources
(MessageImportance.Low, "FindInList.Found", path);
121
Log.
LogMessageFromResources
(MessageImportance.Low, "FindInList.InvalidPath", item.ItemSpec, ex.Message);
GenerateResource.cs (1)
3050
_logger.
LogMessageFromResources
(MessageImportance.Low, "GenerateResource.ReadResourceMessage", reader.resources.Count, filename);
GetCompatiblePlatform.cs (1)
67
Log.
LogMessageFromResources
(MessageImportance.Low, "GetCompatiblePlatform.DisplayChosenPlatform", AssignedProjectsWithPlatform[i].ItemSpec, buildProjectReferenceAs);
GetInstalledSDKLocations.cs (3)
159
Log.
LogMessageFromResources
(MessageImportance.Low, "GetInstalledSDKs.FoundSDKs", installedSDKs.Count);
160
Log.
LogMessageFromResources
(MessageImportance.Low, "GetInstalledSDKs.ListInstalledSDKs");
165
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveAssemblyReference.FourSpaceIndent", sdkInfo);
GetSDKReferenceFiles.cs (2)
316
Log.
LogMessageFromResources
(MessageImportance.Low, "GetSDKReferenceFiles.ExpandRedistFrom", path.Replace(resolvedSDKReference.ItemSpec, String.Empty));
390
Log.
LogMessageFromResources
(MessageImportance.Low, "GetSDKReferenceFiles.ExpandReferencesFrom", path.Replace(resolvedSDKReference.ItemSpec, String.Empty));
ListOperators\FindUnderPath.cs (1)
74
Log.
LogMessageFromResources
(MessageImportance.Low, "FindUnderPath.ComparisonPath", Path.ItemSpec);
MakeDir.cs (1)
71
Log.
LogMessageFromResources
(MessageImportance.Normal, "MakeDir.Comment", directory.ItemSpec);
Move.cs (2)
238
Log.
LogMessageFromResources
(MessageImportance.Normal, "Move.CreatesDirectory", destinationFolder);
243
Log.
LogMessageFromResources
(MessageImportance.Normal, "Move.FileComment", sourceFile, destinationFile);
MSBuild.cs (7)
223
Log.
LogMessageFromResources
(MessageImportance.Low, "General.UndefineProperties");
238
Log.
LogMessageFromResources
(MessageImportance.Low, "MSBuild.NotBuildingInParallel");
248
Log.
LogMessageFromResources
(MessageImportance.Low, "MSBuild.NoStopOnFirstFailure");
287
Log.
LogMessageFromResources
(MessageImportance.Low, "MSBuild.SkippingRemainingProjects");
348
Log.
LogMessageFromResources
(MessageImportance.High, "MSBuild.ProjectFileNotFoundMessage", project.ItemSpec);
545
log.
LogMessageFromResources
(MessageImportance.Low, "General.ProjectUndefineProperties", projectNames[i]);
597
log.
LogMessageFromResources
(MessageImportance.Low, "MSBuild.SkippingRemainingTargets");
MSBuildInternalMessage.cs (1)
71
Log.
LogMessageFromResources
(importance, ResourceName, FormatArguments);
PlatformNegotiation.cs (7)
53
log?.
LogMessageFromResources
(MessageImportance.Low, "GetCompatiblePlatform.ReferencedProjectHasDefinitivePlatform", projectPath, referencedProjectPlatform);
59
log?.
LogMessageFromResources
(MessageImportance.Low, "GetCompatiblePlatform.SamePlatform");
68
log?.
LogMessageFromResources
(MessageImportance.Low, "GetCompatiblePlatform.FoundMappingInTable", currentProjectPlatform, buildProjectReferenceAs, projectReferenceLookupTableMetadata);
76
log?.
LogMessageFromResources
(MessageImportance.Low, "GetCompatiblePlatform.FoundMappingInTable", currentProjectPlatform, buildProjectReferenceAs, platformLookupTable);
82
log?.
LogMessageFromResources
(MessageImportance.Low, "GetCompatiblePlatform.AnyCPUDefault");
94
log?.
LogMessageFromResources
(MessageImportance.Low, "GetCompatiblePlatform.ReferencedProjectHasDefinitivePlatform", projectPath, referencedProjectPlatform);
122
log?.
LogMessageFromResources
(MessageImportance.Low, "GetCompatiblePlatform.LookupTableParsed", stringTable);
RemoveDir.cs (2)
73
Log.
LogMessageFromResources
(MessageImportance.Normal, "RemoveDir.Removing", directory.ItemSpec);
102
Log.
LogMessageFromResources
(MessageImportance.Normal, "RemoveDir.SkippingNonexistentDirectory", directory.ItemSpec);
ResolveNonMSBuildProjectOutput.cs (3)
100
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveNonMSBuildProjectOutput.ProjectReferenceResolutionStarting", projectRef.ItemSpec);
124
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveNonMSBuildProjectOutput.ProjectReferenceResolutionSuccess", projectRef.ItemSpec, resolvedPath.ItemSpec);
139
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveNonMSBuildProjectOutput.ProjectReferenceUnresolved", projectRef.ItemSpec);
ResolveSDKReference.cs (2)
599
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveSDKReference.SearchingForSDK", reference.ReferenceItem.ItemSpec);
603
Log.
LogMessageFromResources
(MessageImportance.Low, "ResolveSDKReference.FoundSDK", reference.ResolvedPath);
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (2)
744
_log.
LogMessageFromResources
(MessageImportance.Low, "CodeTaskFactory.CompilingAssembly");
758
_log.
LogMessageFromResources
(MessageImportance.Low, "CodeTaskFactory.FindSourceFileAt", sourceCodePath);
SdkToolsPathUtility.cs (1)
108
log.
LogMessageFromResources
(MessageImportance.Low, "General.SdkToolsPathNotSpecifiedOrToolDoesNotExist", toolName, sdkToolsPath);
Telemetry.cs (1)
44
Log.
LogMessageFromResources
(MessageImportance.Low, "Telemetry.IllegalEventDataString", pair, EventData);
Touch.cs (2)
210
Log.
LogMessageFromResources
(messageImportance, "Touch.CreatingFile", file, "AlwaysCreate");
231
Log.
LogMessageFromResources
(messageImportance, "Touch.Touching", file);
Unzip.cs (3)
169
Log.
LogMessageFromResources
(MessageImportance.Low, "Unzip.DidNotUnzipBecauseOfFilter", zipArchiveEntry.FullName);
197
Log.
LogMessageFromResources
(MessageImportance.Low, "Unzip.DidNotUnzipBecauseOfFileMatch", zipArchiveEntry.FullName, destinationPath.FullName, nameof(SkipUnchangedFiles), "true");
232
Log.
LogMessageFromResources
(MessageImportance.Normal, "Unzip.FileComment", zipArchiveEntry.FullName, destinationPath.FullName);
WriteCodeFragment.cs (2)
102
Log.
LogMessageFromResources
(MessageImportance.Low, "WriteCodeFragment.NoWorkToDo");
128
Log.
LogMessageFromResources
(MessageImportance.Low, "WriteCodeFragment.GeneratedFile", OutputFile.ItemSpec);
XmlPeek.cs (1)
156
Log.
LogMessageFromResources
(MessageImportance.Low, "XmlPeek.Found", item);
XmlPoke.cs (2)
128
Log.
LogMessageFromResources
(MessageImportance.Low, "XmlPoke.Replaced", iter.Current.Name, Value.ItemSpec);
137
Log.
LogMessageFromResources
(MessageImportance.Normal, "XmlPoke.Count", count);
XslTransformation.cs (2)
164
Log.
LogMessageFromResources
(MessageImportance.High, "XslTransform.SecuritySettingsViaUseTrustedSettings");
467
_log.
LogMessageFromResources
(MessageImportance.Low, "XslTransform.UseTrustedSettings", _data);
ZipDirectory.cs (1)
85
Log.
LogMessageFromResources
(MessageImportance.High, "ZipDirectory.Comment", sourceDirectory.FullName, destinationFile.FullName);
Microsoft.Build.Utilities.Core (3)
TaskLoggingHelper.cs (1)
472
LogMessageFromResources
(MessageImportance.Normal, messageResourceName, messageArgs);
ToolTask.cs (2)
441
LogPrivate.
LogMessageFromResources
(MessageImportance.Low, "General.ToolCommandFailedNoErrorCode", ExitCode);
1670
LogPrivate.
LogMessageFromResources
(MessageImportance.Low, "ToolTask.EnvironmentVariableHeader");
PresentationBuildTasks (28)
Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (11)
123
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.CurrentDirectory), SourceDir);
144
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.AnalysisResult), CompilerAnalyzer.AnalyzeResult);
154
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.RecompiledXaml), CompilerAnalyzer.RecompileMarkupPages[i]);
174
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.CompilationDone));
210
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.CompileSucceed_Pass1));
940
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.ApplicationDefinitionFile), ApplicationFile);
1131
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.ReferenceFile), refpath);
1201
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.DoCompilation));
1202
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.OutputType), OutputType);
1476
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.GeneratedCodeFile), codeItem.ItemSpec);
1485
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.GeneratedBamlFile), bamlItem.ItemSpec);
Microsoft\Build\Tasks\Windows\MarkupCompilePass2.cs (10)
85
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.CurrentDirectory), SourceDir);
129
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.CompilationDone));
560
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.PreparingCompile));
561
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.OutputType), OutputType);
573
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.LocalRefAppDefFile), localApplicationFile);
588
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.LocalRefMarkupPage), localPageFile);
623
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.DoCompilation));
679
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.InternalTypeHelperNotRequired), _internalTypeHelperFile);
726
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.LocalRefGeneratedBamlFile), bamlItem.ItemSpec);
745
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.LocalRefGeneratedBamlFile), bamlItem.ItemSpec);
Microsoft\Build\Tasks\Windows\ResourcesGenerator.cs (4)
174
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.ResourcesGenerating), resourcesFile);
188
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.ReadResourceFile), resFileName);
189
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.ResourceId), resourceId);
196
Log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.ResourcesGenerated), resourcesFile);
MS\Internal\Tasks\CompilerWrapper.cs (1)
362
_taskLogger.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.FileResolved), sourceFileInfo.OriginalFilePath, newRelativeFilePath, newSourceDir);
MS\Internal\Tasks\TaskHelper.cs (2)
54
log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.TaskLogo), taskName, avalonFileVersion);
55
log.
LogMessageFromResources
(MessageImportance.Low, nameof(SR.TaskRight));