59 references to Log
Microsoft.Build.Tasks.Core (55)
Al.cs (1)
328Log,
AspNetCompiler.cs (7)
230Log.LogExternalProjectStarted(string.Empty, null, ProjectName, TargetName); 239Log.LogExternalProjectFinished(string.Empty, null, ProjectName, succeeded); 307Log.LogErrorWithCodeFromResources("General.FrameworksFileNotFound", ToolExe, 321Log.LogErrorWithCodeFromResources("AspNetCompiler.CannotCombineMetabaseAndVirtualPathOrPhysicalPath"); 327Log.LogErrorWithCodeFromResources("AspNetCompiler.MissingMetabasePathAndVirtualPath"); 333Log.LogErrorWithCodeFromResources("AspNetCompiler.MissingTargetPathForUpdatableApplication"); 339Log.LogErrorWithCodeFromResources("AspNetCompiler.MissingTargetPathForOverwrittenApplication");
AxImp.cs (1)
150Log.LogErrorWithCodeFromResources("AxImp.NoInputFileSpecified");
AxTlbBaseTask.cs (11)
86Log.LogErrorWithCodeFromResources("AxTlbBaseTask.ToolNameMustBeSet"); 114Log, 131Log.LogErrorWithCodeFromResources("AxTlbBaseTask.SdkOrToolPathNotSpecifiedOrInvalid", SdkToolsPath ?? "", ToolPath ?? ""); 188Log.LogErrorWithCodeFromResources("AxTlbBaseTask.InvalidKeyFileSpecified", KeyFile); 199Log.LogErrorWithCodeFromResources("AxTlbBaseTask.CannotSpecifyBothKeyFileAndKeyContainer"); 206Log.LogErrorWithCodeFromResources("AxTlbBaseTask.CannotSpecifyDelaySignWithoutEitherKeyFileOrKeyContainer"); 219StrongNameUtils.GetStrongNameKey(Log, KeyFile, KeyContainer, out keyPair, out publicKey); 223Log.LogErrorFromException(e); 233Log.LogErrorWithCodeFromResources("AxTlbBaseTask.StrongNameUtils.NoPublicKeySpecified"); 248Log.LogErrorWithCodeFromResources("AxTlbBaseTask.StrongNameUtils.NoKeyPairInContainer", KeyContainer); 253Log.LogErrorWithCodeFromResources("AxTlbBaseTask.StrongNameUtils.NoKeyPairInFile", KeyFile);
Exec.cs (13)
149Log.LogErrorWithCodeFromResources("General.InvalidValue", "StdOutEncoding", "Exec"); 170Log.LogErrorWithCodeFromResources("General.InvalidValue", "StdErrEncoding", "Exec"); 317Log.LogMessageFromResources(MessageImportance.Normal, "Exec.CommandFailedNoErrorCode", Command, ExitCode); 326Log.LogErrorWithCodeFromResources("Exec.CommandFailedAccessDenied", commandForLog, ExitCode); 330Log.LogErrorWithCodeFromResources("Exec.CommandExitedZeroWithErrors", commandForLog); 334Log.LogErrorWithCodeFromResources("Exec.CommandFailed", commandForLog, ExitCode); 378Log.LogError(singleLine); 382Log.LogWarning(singleLine); 388Log.LogMessage(messageImportance, singleLine, null); 393Log.LogMessageFromText(singleLine, messageImportance); 431Log.LogErrorWithCodeFromResources("Exec.InvalidRegex", regularExpression, ex.Message); 456Log.LogErrorWithCodeFromResources("Exec.MissingCommandError"); 473Log.LogErrorWithCodeFromResources("Exec.AllDriveLettersMappedError", _workingDirectory);
LC.cs (1)
136string pathToTool = SdkToolsPathUtility.GeneratePathToTool(SdkToolsPathUtility.FileInfoExists, ProcessorArchitecture.CurrentProcessArchitecture, SdkToolsPath, ToolExe, Log, true);
ResGen.cs (9)
223Log.LogMessageFromResources(MessageImportance.Low, "ResGen.NoInputFiles"); 224return !Log.HasLoggedErrors; 240Log.LogErrorWithCodeFromResources("ResGen.CommandTooLong", commandLineCommands.Length); 317return success && !Log.HasLoggedErrors; 410Log.LogErrorWithCodeFromResources("General.TwoVectorsMustHaveSameLength", InputFiles.Length, OutputFiles.Length, "InputFiles", "OutputFiles"); 422Log.LogErrorWithCodeFromResources("ResGen.STRLanguageButNotExactlyOneSourceFile"); 435Log.LogErrorWithCodeFromResources("ResGen.STRClassNamespaceOrFilenameWithoutLanguage"); 445Log.LogErrorWithCodeFromResources("ResGen.SdkOrToolPathNotSpecifiedOrInvalid", SdkToolsPath ?? "", ToolPath ?? ""); 524Log,
RoslynCodeTaskFactory\RoslynCodeTaskFactoryCompilers.cs (1)
138Log.LogMessageFromText(message, StandardOutputImportanceToUse);
SGen.cs (6)
180Log.LogErrorWithCodeFromResources("SGen.InvalidPath", "BuildAssemblyPath", e.Message); 252Log.LogErrorWithCodeFromResources("SGen.InvalidPath", "BuildAssemblyName", e.Message); 316ProcessorArchitecture.CurrentProcessArchitecture, SdkToolsPath, ToolExe, Log, true); 334Log.LogErrorWithCodeFromResources("SGen.ResourceNotFound", reference); 443Log.LogErrorWithCodeFromResources("SGen.CouldNotDeleteSerializer", SerializationAssemblyPath.OriginalValue, e.Message); 447Log.LogErrorWithCodeFromResources("SGen.CouldNotDeleteSerializer", SerializationAssemblyPath.OriginalValue, e.Message);
TlbImp.cs (2)
272Log.LogErrorWithCodeFromResources("TlbImp.NoInputFileSpecified"); 280Log.LogErrorWithCodeFromResources("TlbImp.InvalidTransformParameter", Transform.ToString());
ToolTaskExtension.cs (1)
54protected override bool HasLoggedErrors => Log.HasLoggedErrors || base.HasLoggedErrors;
WinMDExp.cs (2)
251Log, 271Log.LogErrorWithCodeFromResources("WinMDExp.MustPassReferences");
Microsoft.Build.Tasks.UnitTests (4)
ToolTaskExtension_Tests.cs (4)
34t.Log.LogErrorWithCodeFromResources("Csc.AssemblyAliasContainsIllegalCharacters", "PlanetSide", "Knights of the Old Republic"); 35t.Log.LogWarningWithCodeFromResources("Csc.InvalidParameter"); 36t.Log.LogMessageFromResources("Vbc.ParameterHasInvalidValue", "Rome Total War", "Need for Speed Underground"); 64t.Log.LogErrorFromResources("Beyond Good and Evil");