21 references to LogErrorFromResources
Microsoft.Build.Tasks.CodeAnalysis (4)
MapSourceRoots.cs (4)
101
Log.
LogErrorFromResources
("MapSourceRoots.PathMustEndWithSlashOrBackslash", Names.SourceRoot, sourceRoot.ItemSpec);
138
Log.
LogErrorFromResources
("MapSourceRoots.ContainsDuplicate", Names.SourceRoot, localPath);
160
Log.
LogErrorFromResources
("MapSourceRoots.NoTopLevelSourceRoot", Names.SourceRoot, Names.DeterministicSourcePaths);
181
Log.
LogErrorFromResources
("MapSourceRoots.NoSuchTopLevelSourceRoot", Names.SourceRoot + "." + Names.ContainingRoot, Names.SourceRoot, containingRoot);
Microsoft.Build.Tasks.Core (15)
AssemblyDependency\ReferenceTable.cs (1)
988
_log?.
LogErrorFromResources
("ResolveAssemblyReference.ProblemFindingSatelliteAssemblies", reference.FullPath, e.Message);
AssignProjectConfiguration.cs (1)
400
Log.
LogErrorFromResources
("AssignProjectConfiguration.IllegalMappingString", mapping.Trim(), mappingList);
DownloadFile.cs (1)
193
Log.
LogErrorFromResources
("DownloadFile.Downloading", SourceUrl, destinationFile.FullName, response.Content.Headers.ContentLength);
GenerateResource.cs (4)
2576
_logger.
LogErrorFromResources
("GenerateResource.CannotWriteAssembly", outFileOrDir);
3175
_logger.
LogErrorFromResources
("GenerateResource.ImproperlyBuiltMainAssembly", resName, name);
3187
_logger.
LogErrorFromResources
("GenerateResource.ImproperlyBuiltSatelliteAssembly", resName, expectedExt, name);
3333
_logger.
LogErrorFromResources
("GenerateResource.CannotWriteAssembly", filename);
GenerateTrustInfo.cs (1)
78
Log.
LogErrorFromResources
("GenerateManifest.KnownTargetZoneCannotHaveAdditionalPermissionType");
MakeDir.cs (1)
66
Log.
LogErrorFromResources
("MakeDir.Comment", directory.ItemSpec);
MSBuildInternalMessage.cs (1)
79
Log.
LogErrorFromResources
("CommonSdk.SpecifiedSeverityDoesNotExist", Severity);
RemoveDir.cs (1)
68
Log.
LogErrorFromResources
("RemoveDir.Removing", directory.ItemSpec);
ResourceHandling\MSBuildResXReader.cs (1)
215
log.
LogErrorFromResources
("GenerateResource.MimeTypeNotSupportedOnCore", name, resxFilename, mimetype);
Unzip.cs (2)
191
Log.
LogErrorFromResources
("Unzip.ErrorExtractingResultsInFilesOutsideDestination", destinationPath.FullName, destinationDirectory.FullName);
202
Log.
LogErrorFromResources
("Unzip.FileComment", zipArchiveEntry.FullName, destinationPath.FullName);
ZipDirectory.cs (1)
81
Log.
LogErrorFromResources
("ZipDirectory.Comment", sourceDirectory.FullName, destinationFile.FullName);
Microsoft.Build.Tasks.UnitTests (1)
ToolTaskExtension_Tests.cs (1)
64
t.Log.
LogErrorFromResources
("Beyond Good and Evil");
Microsoft.Build.Utilities.UnitTests (1)
TaskLoggingHelper_Tests.cs (1)
156
t.Log.
LogErrorFromResources
("MyErrorResource", "foo");