58 references to Log
Microsoft.Build.Tasks.Core (54)
Al.cs (1)
321
pathToTool = SdkToolsPathUtility.GeneratePathToTool(f => SdkToolsPathUtility.FileInfoExists(f), archToLookFor, SdkToolsPath, ToolExe,
Log
, true);
AspNetCompiler.cs (7)
228
Log
.LogExternalProjectStarted(string.Empty, null, ProjectName, TargetName);
237
Log
.LogExternalProjectFinished(string.Empty, null, ProjectName, succeeded);
305
Log
.LogErrorWithCodeFromResources("General.FrameworksFileNotFound", ToolExe,
320
Log
.LogErrorWithCodeFromResources("AspNetCompiler.CannotCombineMetabaseAndVirtualPathOrPhysicalPath");
326
Log
.LogErrorWithCodeFromResources("AspNetCompiler.MissingMetabasePathAndVirtualPath");
332
Log
.LogErrorWithCodeFromResources("AspNetCompiler.MissingTargetPathForUpdatableApplication");
338
Log
.LogErrorWithCodeFromResources("AspNetCompiler.MissingTargetPathForOverwrittenApplication");
AxImp.cs (1)
150
Log
.LogErrorWithCodeFromResources("AxImp.NoInputFileSpecified");
AxTlbBaseTask.cs (11)
86
Log
.LogErrorWithCodeFromResources("AxTlbBaseTask.ToolNameMustBeSet");
114
Log
,
131
Log
.LogErrorWithCodeFromResources("AxTlbBaseTask.SdkOrToolPathNotSpecifiedOrInvalid", SdkToolsPath ?? "", ToolPath ?? "");
188
Log
.LogErrorWithCodeFromResources("AxTlbBaseTask.InvalidKeyFileSpecified", KeyFile);
199
Log
.LogErrorWithCodeFromResources("AxTlbBaseTask.CannotSpecifyBothKeyFileAndKeyContainer");
206
Log
.LogErrorWithCodeFromResources("AxTlbBaseTask.CannotSpecifyDelaySignWithoutEitherKeyFileOrKeyContainer");
219
StrongNameUtils.GetStrongNameKey(
Log
, KeyFile, KeyContainer, out keyPair, out publicKey);
223
Log
.LogErrorFromException(e);
233
Log
.LogErrorWithCodeFromResources("AxTlbBaseTask.StrongNameUtils.NoPublicKeySpecified");
248
Log
.LogErrorWithCodeFromResources("AxTlbBaseTask.StrongNameUtils.NoKeyPairInContainer", KeyContainer);
253
Log
.LogErrorWithCodeFromResources("AxTlbBaseTask.StrongNameUtils.NoKeyPairInFile", KeyFile);
Exec.cs (12)
151
Log
.LogErrorWithCodeFromResources("General.InvalidValue", "StdOutEncoding", "Exec");
172
Log
.LogErrorWithCodeFromResources("General.InvalidValue", "StdErrEncoding", "Exec");
319
Log
.LogMessageFromResources(MessageImportance.Normal, "Exec.CommandFailedNoErrorCode", Command, ExitCode);
328
Log
.LogErrorWithCodeFromResources("Exec.CommandFailedAccessDenied", commandForLog, ExitCode);
332
Log
.LogErrorWithCodeFromResources("Exec.CommandFailed", commandForLog, ExitCode);
375
Log
.LogError(singleLine);
379
Log
.LogWarning(singleLine);
385
Log
.LogMessage(messageImportance, singleLine, null);
390
Log
.LogMessageFromText(singleLine, messageImportance);
428
Log
.LogErrorWithCodeFromResources("Exec.InvalidRegex", regularExpression, ex.Message);
453
Log
.LogErrorWithCodeFromResources("Exec.MissingCommandError");
470
Log
.LogErrorWithCodeFromResources("Exec.AllDriveLettersMappedError", _workingDirectory);
LC.cs (1)
136
string pathToTool = SdkToolsPathUtility.GeneratePathToTool(SdkToolsPathUtility.FileInfoExists, ProcessorArchitecture.CurrentProcessArchitecture, SdkToolsPath, ToolExe,
Log
, true);
ResGen.cs (9)
223
Log
.LogMessageFromResources(MessageImportance.Low, "ResGen.NoInputFiles");
224
return !
Log
.HasLoggedErrors;
240
Log
.LogErrorWithCodeFromResources("ResGen.CommandTooLong", commandLineCommands.Length);
317
return success && !
Log
.HasLoggedErrors;
410
Log
.LogErrorWithCodeFromResources("General.TwoVectorsMustHaveSameLength", InputFiles.Length, OutputFiles.Length, "InputFiles", "OutputFiles");
422
Log
.LogErrorWithCodeFromResources("ResGen.STRLanguageButNotExactlyOneSourceFile");
435
Log
.LogErrorWithCodeFromResources("ResGen.STRClassNamespaceOrFilenameWithoutLanguage");
445
Log
.LogErrorWithCodeFromResources("ResGen.SdkOrToolPathNotSpecifiedOrInvalid", SdkToolsPath ?? "", ToolPath ?? "");
524
Log
,
RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs (1)
134
Log
.LogMessageFromText(message, StandardOutputImportanceToUse);
SGen.cs (6)
178
Log
.LogErrorWithCodeFromResources("SGen.InvalidPath", "BuildAssemblyPath", e.Message);
250
Log
.LogErrorWithCodeFromResources("SGen.InvalidPath", "BuildAssemblyName", e.Message);
317
pathToTool = SdkToolsPathUtility.GeneratePathToTool(SdkToolsPathUtility.FileInfoExists, ProcessorArchitecture.CurrentProcessArchitecture, SdkToolsPath, ToolExe,
Log
, true);
335
Log
.LogErrorWithCodeFromResources("SGen.ResourceNotFound", reference);
444
Log
.LogErrorWithCodeFromResources("SGen.CouldNotDeleteSerializer", SerializationAssemblyPath, e.Message);
448
Log
.LogErrorWithCodeFromResources("SGen.CouldNotDeleteSerializer", SerializationAssemblyPath, e.Message);
TlbImp.cs (2)
272
Log
.LogErrorWithCodeFromResources("TlbImp.NoInputFileSpecified");
280
Log
.LogErrorWithCodeFromResources("TlbImp.InvalidTransformParameter", Transform.ToString());
ToolTaskExtension.cs (1)
54
protected override bool HasLoggedErrors =>
Log
.HasLoggedErrors || base.HasLoggedErrors;
WinMDExp.cs (2)
245
return SdkToolsPathUtility.GeneratePathToTool(SdkToolsPathUtility.FileInfoExists, Microsoft.Build.Utilities.ProcessorArchitecture.CurrentProcessArchitecture, SdkToolsPath, ToolExe,
Log
, true);
255
Log
.LogErrorWithCodeFromResources("WinMDExp.MustPassReferences");
Microsoft.Build.Tasks.UnitTests (4)
ToolTaskExtension_Tests.cs (4)
34
t.
Log
.LogErrorWithCodeFromResources("Csc.AssemblyAliasContainsIllegalCharacters", "PlanetSide", "Knights of the Old Republic");
35
t.
Log
.LogWarningWithCodeFromResources("Csc.InvalidParameter");
36
t.
Log
.LogMessageFromResources("Vbc.ParameterHasInvalidValue", "Rome Total War", "Need for Speed Underground");
64
t.
Log
.LogErrorFromResources("Beyond Good and Evil");