58 references to Log
Microsoft.Build.Tasks.Core (54)
Al.cs (1)
321pathToTool = SdkToolsPathUtility.GeneratePathToTool(f => SdkToolsPathUtility.FileInfoExists(f), archToLookFor, SdkToolsPath, ToolExe, Log, true);
AspNetCompiler.cs (7)
228Log.LogExternalProjectStarted(string.Empty, null, ProjectName, TargetName); 237Log.LogExternalProjectFinished(string.Empty, null, ProjectName, succeeded); 305Log.LogErrorWithCodeFromResources("General.FrameworksFileNotFound", ToolExe, 320Log.LogErrorWithCodeFromResources("AspNetCompiler.CannotCombineMetabaseAndVirtualPathOrPhysicalPath"); 326Log.LogErrorWithCodeFromResources("AspNetCompiler.MissingMetabasePathAndVirtualPath"); 332Log.LogErrorWithCodeFromResources("AspNetCompiler.MissingTargetPathForUpdatableApplication"); 338Log.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 (12)
151Log.LogErrorWithCodeFromResources("General.InvalidValue", "StdOutEncoding", "Exec"); 172Log.LogErrorWithCodeFromResources("General.InvalidValue", "StdErrEncoding", "Exec"); 319Log.LogMessageFromResources(MessageImportance.Normal, "Exec.CommandFailedNoErrorCode", Command, ExitCode); 328Log.LogErrorWithCodeFromResources("Exec.CommandFailedAccessDenied", commandForLog, ExitCode); 332Log.LogErrorWithCodeFromResources("Exec.CommandFailed", commandForLog, ExitCode); 375Log.LogError(singleLine); 379Log.LogWarning(singleLine); 385Log.LogMessage(messageImportance, singleLine, null); 390Log.LogMessageFromText(singleLine, messageImportance); 428Log.LogErrorWithCodeFromResources("Exec.InvalidRegex", regularExpression, ex.Message); 453Log.LogErrorWithCodeFromResources("Exec.MissingCommandError"); 470Log.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)
134Log.LogMessageFromText(message, StandardOutputImportanceToUse);
SGen.cs (6)
178Log.LogErrorWithCodeFromResources("SGen.InvalidPath", "BuildAssemblyPath", e.Message); 250Log.LogErrorWithCodeFromResources("SGen.InvalidPath", "BuildAssemblyName", e.Message); 317pathToTool = SdkToolsPathUtility.GeneratePathToTool(SdkToolsPathUtility.FileInfoExists, ProcessorArchitecture.CurrentProcessArchitecture, SdkToolsPath, ToolExe, Log, true); 335Log.LogErrorWithCodeFromResources("SGen.ResourceNotFound", reference); 444Log.LogErrorWithCodeFromResources("SGen.CouldNotDeleteSerializer", SerializationAssemblyPath, e.Message); 448Log.LogErrorWithCodeFromResources("SGen.CouldNotDeleteSerializer", SerializationAssemblyPath, 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)
245return SdkToolsPathUtility.GeneratePathToTool(SdkToolsPathUtility.FileInfoExists, Microsoft.Build.Utilities.ProcessorArchitecture.CurrentProcessArchitecture, SdkToolsPath, ToolExe, Log, true); 255Log.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");