3 types derived from TaskLoggingHelper
Microsoft.Build.Tasks.Core (1)
TaskLoggingHelperExtension.cs (1)
33class TaskLoggingHelperExtension : TaskLoggingHelper
Microsoft.NET.Sdk.StaticWebAssets.Tests (2)
StaticWebAssets\ContentTypeProviderTests.cs (1)
168private class TestTaskLoggingHelper : TaskLoggingHelper
StaticWebAssets\FingerprintPatternMatcherTest.cs (1)
90private class TestTaskLoggingHelper : TaskLoggingHelper
41 instantiations of TaskLoggingHelper
installer.tasks (1)
BuildTask.cs (1)
15get { return _log ??= new TaskLoggingHelper(this); }
Microsoft.Build.Tasks.Core (3)
CodeTaskFactory.cs (1)
1121TaskLoggingHelper log = new TaskLoggingHelper(taskFactoryLoggingHost, taskName)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (1)
153_log = new TaskLoggingHelper(taskFactoryLoggingHost, taskName)
XamlTaskFactory\XamlTaskFactory.cs (1)
266TaskLoggingHelper log = new TaskLoggingHelper(taskFactoryLoggingHost, taskName)
Microsoft.Build.Tasks.UnitTests (12)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (1)
29_taskLoggingHelper = new TaskLoggingHelper(new MockEngine(), "TaskA")
ResolveSDKReference_Tests.cs (9)
192TaskLoggingHelper log1 = new TaskLoggingHelper(engine1, "ResolveSDKReference"); 210TaskLoggingHelper log2 = new TaskLoggingHelper(engine2, "ResolveSDKReference"); 228TaskLoggingHelper log3 = new TaskLoggingHelper(engine3, "ResolveSDKReference"); 246TaskLoggingHelper log3a = new TaskLoggingHelper(engine3a, "ResolveSDKReference"); 268TaskLoggingHelper log4 = new TaskLoggingHelper(engine4, "ResolveSDKReference"); 285TaskLoggingHelper log5 = new TaskLoggingHelper(engine5, "ResolveSDKReference"); 315TaskLoggingHelper log = new TaskLoggingHelper(engine, "ResolveSDKReference"); 357TaskLoggingHelper log = new TaskLoggingHelper(engine, "ResolveSDKReference"); 387log = new TaskLoggingHelper(engine, "ResolveSDKReference");
RoslynCodeTaskFactory_Tests.cs (2)
928TaskLoggingHelper log = new TaskLoggingHelper(buildEngine, TaskName) 954TaskLoggingHelper log = new TaskLoggingHelper(buildEngine, TaskName)
Microsoft.Build.Utilities.Core (4)
AppDomainIsolatedTask.cs (1)
31Log = new TaskLoggingHelper(this);
Task.cs (1)
24Log = new TaskLoggingHelper(this);
ToolTask.cs (2)
72LogPrivate = new TaskLoggingHelper(this) 78LogShared = new TaskLoggingHelper(this)
Microsoft.DotNet.Build.Manifest.Tests (1)
BuildModelFactoryTests.cs (1)
48_taskLoggingHelper = new TaskLoggingHelper(_stubTask);
Microsoft.DotNet.Build.Tasks.Feed.Tests (8)
GeneralTests.cs (4)
70new Microsoft.Build.Utilities.TaskLoggingHelper(new StubTask()), 97new Microsoft.Build.Utilities.TaskLoggingHelper(new StubTask()), 115var taskLoggingHelper = new Microsoft.Build.Utilities.TaskLoggingHelper(new StubTask()); 149var taskLoggingHelper = new Microsoft.Build.Utilities.TaskLoggingHelper(new StubTask());
LatestLinksManagerTests.cs (4)
80var taskLoggingHelper = new Microsoft.Build.Utilities.TaskLoggingHelper(new StubTask()); 124var taskLoggingHelper = new Microsoft.Build.Utilities.TaskLoggingHelper(new StubTask()); 154var taskLoggingHelper = new TaskLoggingHelper(new StubTask()); 191var taskLoggingHelper = new TaskLoggingHelper(new StubTask());
Microsoft.DotNet.Build.Tasks.Installers (1)
src\Common\Internal\BuildTask.cs (1)
18get { return _log ??= new Log(new TaskLoggingHelper(this)); }
Microsoft.DotNet.Build.Tasks.Packaging (1)
src\Common\Internal\BuildTask.cs (1)
18get { return _log ??= new Log(new TaskLoggingHelper(this)); }
Microsoft.DotNet.Build.Tasks.TargetFramework (1)
src\Common\Internal\BuildTask.cs (1)
18get { return _log ??= new Log(new TaskLoggingHelper(this)); }
Microsoft.DotNet.Build.Tasks.Workloads (1)
src\Common\Internal\BuildTask.cs (1)
18get { return _log ??= new Log(new TaskLoggingHelper(this)); }
Microsoft.DotNet.GenFacades (1)
src\Common\Internal\BuildTask.cs (1)
18get { return _log ??= new Log(new TaskLoggingHelper(this)); }
Microsoft.DotNet.PackageTesting (1)
src\Common\Internal\BuildTask.cs (1)
18get { return _log ??= new Log(new TaskLoggingHelper(this)); }
Microsoft.DotNet.SharedFramework.Sdk (1)
src\Common\Internal\BuildTask.cs (1)
18get { return _log ??= new Log(new TaskLoggingHelper(this)); }
Microsoft.DotNet.SignTool.Tests (3)
SignToolTests.cs (3)
424var fakeLog = new TaskLoggingHelper(fakeBuildEngine, "TestLog"); 484var fakeLog = new TaskLoggingHelper(fakeBuildEngine, "TestLog"); 3551var fakeLog = new TaskLoggingHelper(fakeBuildEngine, "TestLog");
Microsoft.Maui.Controls.Build.Tasks (1)
XamlTask.cs (1)
29 LoggingHelper = new TaskLoggingHelper(this);
Microsoft.NET.Sdk.StaticWebAssets.Tests (1)
StaticWebAssets\DiscoverStaticWebAssetsTest.cs (1)
814var loggingHelper = new TaskLoggingHelper(buildEngine.Object, "DefineStaticWebAssets");
291 references to TaskLoggingHelper
Crossgen2Tasks (5)
CommonFilePulledFromSdkRepo\LogAdapter.cs (2)
11private TaskLoggingHelper _taskLogger; 13public LogAdapter(TaskLoggingHelper taskLogger)
CommonFilePulledFromSdkRepo\Logger.cs (3)
12/// Replacement and abstraction for <see cref="TaskLoggingHelper"/> in our 43/// Pattern inspired by <se cref="TaskLoggingHelper.LogErrorWithCodeFromResources"/>, 50/// cref="TaskLoggingHelper"/>.
HelixTasks (1)
TaskItemExtensions.cs (1)
17public static bool GetRequiredMetadata(this ITaskItem item, TaskLoggingHelper log, string key, out string value)
ILLink.Tasks (2)
CreateRuntimeRootDescriptorFile.cs (2)
562readonly TaskLoggingHelper log; 567public DefineTracker(HashSet<string> defineConstants, TaskLoggingHelper log, string filePath)
installer.tasks (2)
BuildTask.cs (2)
11private TaskLoggingHelper _log = null; 13internal TaskLoggingHelper Log
Microsoft.Build.Tasks.CodeAnalysis (4)
src\Compilers\Core\MSBuildTask\Csc.cs (1)
453internal static string? GetDefineConstantsSwitch(string? originalDefineConstants, TaskLoggingHelper log)
src\Compilers\Core\MSBuildTask\TaskCompilerServerLogger.cs (2)
14TaskLoggingHelper taskLogger, 18private readonly TaskLoggingHelper _taskLogger = taskLogger;
src\Compilers\Core\MSBuildTask\Vbc.cs (1)
628/// original vbc structure such that we can call <see cref="TaskLoggingHelper.LogMessageFromText(string, MessageImportance)" />
Microsoft.Build.Tasks.CodeAnalysis.Sdk (4)
src\Compilers\Core\MSBuildTask\Csc.cs (1)
453internal static string? GetDefineConstantsSwitch(string? originalDefineConstants, TaskLoggingHelper log)
src\Compilers\Core\MSBuildTask\TaskCompilerServerLogger.cs (2)
14TaskLoggingHelper taskLogger, 18private readonly TaskLoggingHelper _taskLogger = taskLogger;
src\Compilers\Core\MSBuildTask\Vbc.cs (1)
628/// original vbc structure such that we can call <see cref="TaskLoggingHelper.LogMessageFromText(string, MessageImportance)" />
Microsoft.Build.Tasks.Core (48)
AssemblyDependency\AssemblyFoldersFromConfig\AssemblyFoldersFromConfigResolver.cs (2)
60private readonly TaskLoggingHelper _taskLogger; 78IBuildEngine buildEngine, TaskLoggingHelper log)
AssemblyDependency\AssemblyResolution.cs (1)
159TaskLoggingHelper log)
AssemblyDependency\ReferenceTable.cs (2)
119private readonly TaskLoggingHelper _log; 287TaskLoggingHelper log,
AssemblyDependency\ResolveAssemblyReference.cs (1)
119internal static void Initialize(TaskLoggingHelper log)
CodeTaskFactory.cs (1)
1121TaskLoggingHelper log = new TaskLoggingHelper(taskFactoryLoggingHost, taskName)
CreateCSharpManifestResourceName.cs (1)
95TaskLoggingHelper log,
CreateVisualBasicManifestResourceName.cs (1)
94TaskLoggingHelper log,
DownloadFile.cs (1)
130string flattenedMessage = TaskLoggingHelper.GetInnerExceptionMessageString(e);
GenerateResource.cs (3)
2221private TaskLoggingHelper _logger = null; 2382TaskLoggingHelper log, 3513public static bool TryCreateCodeDomProvider(TaskLoggingHelper logger, string stronglyTypedLanguage, out CodeDomProvider provider)
MSBuild.cs (1)
488TaskLoggingHelper log,
NativeMethods.cs (1)
804internal static bool MakeHardLink(string newFileName, string exitingFileName, ref string errorMessage, TaskLoggingHelper log)
PlatformNegotiation.cs (2)
22internal static string GetNearestPlatform(string overridePlatformValue, string referencedProjectPlatform, string projectReferencePlatformsMetadata, string projectReferenceLookupTableMetadata, string platformLookupTable, string projectPath, string currentProjectPlatform, TaskLoggingHelper? log = null) 99internal static Dictionary<string, string>? ExtractLookupTable(string stringTable, TaskLoggingHelper? log = null)
PropertyParser.cs (2)
27internal static bool GetTable(TaskLoggingHelper log, string parameterName, string[] propertyList, out Dictionary<string, string> propertiesTable) 83internal static bool GetTableWithEscaping(TaskLoggingHelper log, string parameterName, string syntaxName, string[] propertyNameValueStrings, out Dictionary<string, string> finalPropertiesTable)
ResGenDependencies.cs (6)
124internal ResXFile GetResXFileInfo(string resxFile, bool useMSBuildResXReader, TaskLoggingHelper log, bool logWarningForBinaryFormatter) 147private ResXFile AddResxFile(string file, bool useMSBuildResXReader, TaskLoggingHelper log, bool logWarningForBinaryFormatter) 188internal override void SerializeCache(string stateFile, TaskLoggingHelper log, bool serializeEmptyState = false) 197internal static ResGenDependencies DeserializeCache(string stateFile, bool useSourcePath, TaskLoggingHelper log) 225internal ResXFile(string filename, string baseLinkedFileDirectory, bool useMSBuildResXReader, TaskLoggingHelper log, bool logWarningForBinaryFormatter) : base(filename) 255private static string[] GetLinkedFiles(string filename, string baseLinkedFileDirectory, bool useMSBuildResXReader, TaskLoggingHelper log, bool logWarningForBinaryFormatter)
ResolveSDKReference.cs (2)
479internal static void AddMetadataToReferences(TaskLoggingHelper log, HashSet<SDKReference> sdkReferenceItems, Dictionary<string, string> referencesToAddMetadata, string metadataName, string metadataValue) 499internal static void VerifySDKDependsOn(TaskLoggingHelper log, HashSet<SDKReference> sdkReferenceItems)
ResourceHandling\MSBuildResXReader.cs (4)
21public static IReadOnlyList<IResource> ReadResources(Stream s, string filename, bool pathsRelativeToBasePath, TaskLoggingHelper log, bool logWarningForBinaryFormatter) 116TaskLoggingHelper log, 314public static IReadOnlyList<IResource> GetResourcesFromFile(string filename, bool pathsRelativeToBasePath, TaskLoggingHelper log, bool logWarningForBinaryFormatter) 322public static IReadOnlyList<IResource> GetResourcesFromString(string resxContent, TaskLoggingHelper log, bool logWarningForBinaryFormatter, string basePath = null, bool? useRelativePath = null)
RoslynCodeTaskFactory\RoslynCodeTaskFactory.cs (6)
95/// Stores an instance of a <see cref="TaskLoggingHelper"/> for logging messages. 97private TaskLoggingHelper _log; 278/// <param name="log">A <see cref="TaskLoggingHelper"/> used to log events during parsing.</param> 298internal static bool TryLoadTaskBody(TaskLoggingHelper log, string taskName, string taskBody, ICollection<TaskPropertyInfo> parameters, out RoslynCodeTaskFactoryTaskInfo taskInfo) 523/// <param name="log">A <see cref="TaskLoggingHelper"/> used for logging.</param> 533internal bool TryResolveAssemblyReferences(TaskLoggingHelper log, RoslynCodeTaskFactoryTaskInfo taskInfo, out ITaskItem[] items)
SdkToolsPathUtility.cs (1)
50internal static string GeneratePathToTool(FileExists fileExists, string currentArchitecture, string sdkToolsPath, string toolName, TaskLoggingHelper log, bool logErrorsAndWarnings)
StateFileBase.cs (3)
39internal virtual void SerializeCache(string stateFile, TaskLoggingHelper log, bool serializeEmptyState = false) 76internal static T DeserializeCache<T>(string stateFile, TaskLoggingHelper log) where T : StateFileBase 134internal static void DeleteFile(string stateFile, TaskLoggingHelper log)
SystemState.cs (2)
563internal static SystemState DeserializePrecomputedCaches(ITaskItem[] stateFiles, TaskLoggingHelper log, FileExists fileExists) 602internal void SerializePrecomputedCache(string stateFile, TaskLoggingHelper log)
TaskExtension.cs (1)
36public new TaskLoggingHelper Log => _logExtension;
ToolTaskExtension.cs (1)
46public new TaskLoggingHelper Log => _logExtension;
XamlTaskFactory\XamlTaskFactory.cs (1)
266TaskLoggingHelper log = new TaskLoggingHelper(taskFactoryLoggingHost, taskName)
XslTransformation.cs (2)
368private readonly TaskLoggingHelper _log; 379public XsltInput(ITaskItem xsltFile, string xslt, ITaskItem xsltCompiledDll, TaskLoggingHelper logTool, bool preserveWhitespace)
Microsoft.Build.Tasks.UnitTests (14)
AssemblyDependency\ResolveAssemblyReferenceCacheSerialization.cs (1)
21private readonly TaskLoggingHelper _taskLoggingHelper;
ResolveSDKReference_Tests.cs (8)
192TaskLoggingHelper log1 = new TaskLoggingHelper(engine1, "ResolveSDKReference"); 210TaskLoggingHelper log2 = new TaskLoggingHelper(engine2, "ResolveSDKReference"); 228TaskLoggingHelper log3 = new TaskLoggingHelper(engine3, "ResolveSDKReference"); 246TaskLoggingHelper log3a = new TaskLoggingHelper(engine3a, "ResolveSDKReference"); 268TaskLoggingHelper log4 = new TaskLoggingHelper(engine4, "ResolveSDKReference"); 285TaskLoggingHelper log5 = new TaskLoggingHelper(engine5, "ResolveSDKReference"); 315TaskLoggingHelper log = new TaskLoggingHelper(engine, "ResolveSDKReference"); 357TaskLoggingHelper log = new TaskLoggingHelper(engine, "ResolveSDKReference");
RoslynCodeTaskFactory_Tests.cs (2)
928TaskLoggingHelper log = new TaskLoggingHelper(buildEngine, TaskName) 954TaskLoggingHelper log = new TaskLoggingHelper(buildEngine, TaskName)
ToolTaskExtension_Tests.cs (3)
40TaskLoggingHelper log = (TaskLoggingHelper)logShared.GetValue(t, null); 46log = (TaskLoggingHelper)logPrivate.GetValue(t, null);
Microsoft.Build.Utilities.Core (7)
AppDomainIsolatedTask.cs (3)
48/// <see cref="TaskLoggingHelper.LogErrorWithCodeFromResources(string, object[])"/> method. 78public TaskLoggingHelper Log { get; } 95/// see the <see cref="TaskLoggingHelper.LogErrorWithCodeFromResources(string, object[])"/> method.
Task.cs (1)
122public TaskLoggingHelper Log { get; }
ToolTask.cs (2)
338private TaskLoggingHelper LogPrivate { get; } 348private TaskLoggingHelper LogShared { get; }
TrackedDependencies\TrackedDependencies.cs (1)
26internal static ITaskItem[]? ExpandWildcards(ITaskItem[] expand, TaskLoggingHelper? log)
Microsoft.DotNet.ApiCompat.Task (3)
LogAdapter.cs (1)
8internal sealed class LogAdapter(TaskLoggingHelper taskLogger) : Logger
Logger.cs (2)
11/// Replacement and abstraction for <see cref="TaskLoggingHelper"/> in our 49/// cref="TaskLoggingHelper"/>.
Microsoft.DotNet.Baselines.Tasks (2)
PRCreator.cs (2)
22private readonly TaskLoggingHelper _logger; 30public PRCreator(TaskLoggingHelper logger, string gitHubOrg, string gitHubRepoName, string gitHubToken)
Microsoft.DotNet.Build.Manifest (8)
BlobArtifactModelFactory.cs (2)
16private readonly TaskLoggingHelper _log; 18public BlobArtifactModelFactory(TaskLoggingHelper logger)
BuildModelFactory.cs (2)
42private readonly TaskLoggingHelper _log; 49TaskLoggingHelper logger)
PackageArtifactModelFactory.cs (2)
18private readonly TaskLoggingHelper _log; 21TaskLoggingHelper logger)
PdbArtifactModelFactory.cs (2)
16private readonly TaskLoggingHelper _log; 18public PdbArtifactModelFactory(TaskLoggingHelper logger)
Microsoft.DotNet.Build.Manifest.Tests (1)
BuildModelFactoryTests.cs (1)
38readonly TaskLoggingHelper _taskLoggingHelper;
Microsoft.DotNet.Build.Tasks.Feed (28)
src\AssetPublisherFactory.cs (2)
16private readonly TaskLoggingHelper _log; 18public AssetPublisherFactory(TaskLoggingHelper log)
src\AzureDevOpsNugetFeedAssetPublisher.cs (2)
21private readonly TaskLoggingHelper _log; 30public AzureDevOpsNugetFeedAssetPublisher(TaskLoggingHelper log, string targetUrl, string accessToken, PublishArtifactsInManifestBase task)
src\AzureStorageAssetPublisher.cs (2)
17private readonly TaskLoggingHelper _log; 19protected AzureStorageAssetPublisher(TaskLoggingHelper log)
src\AzureStorageContainerAssetTokenCredentialPublisher.cs (1)
16public AzureStorageContainerAssetTokenCredentialPublisher(Uri containerUri, TokenCredential tokenCredential, TaskLoggingHelper log) : base(log)
src\BlobFeedAction.cs (2)
23private MSBuild.TaskLoggingHelper Log; 35public BlobFeedAction(string expectedFeedUrl, string accountKey, MSBuild.TaskLoggingHelper Log)
src\common\AzureStorageUtils.cs (2)
211MsBuildUtils.TaskLoggingHelper log) 243MsBuildUtils.TaskLoggingHelper log,
src\common\GeneralUtils.cs (3)
125TaskLoggingHelper log) 142TaskLoggingHelper log, 193public static string InferCategory(string assetId, TaskLoggingHelper log)
src\common\LatestLinksManager.cs (2)
19private TaskLoggingHelper _logger { get; } 38TaskLoggingHelper logger)
src\ConfigureInputFeed.cs (1)
24public void GenerateNugetConfig(ITaskItem[] EnableFeeds, string RepoRoot, TaskLoggingHelper Log)
src\model\SetupTargetFeedConfigV3.cs (2)
29public TaskLoggingHelper Log { get; } 52TaskLoggingHelper log = null)
src\model\SetupTargetFeedConfigV4.cs (2)
30public TaskLoggingHelper Log { get; } 51TaskLoggingHelper log = null)
src\MSBuildLogger.cs (2)
13private readonly TaskLoggingHelper _log; 15public MSBuildLogger(TaskLoggingHelper log)
src\PublishArtifactsInManifestBase.cs (1)
1493Func<string, string, HttpClient, MsBuildUtils.TaskLoggingHelper, Task<PackageFeedStatus>> CompareLocalPackageToFeedPackageCallBack = null,
src\PushToBuildStorage.cs (2)
525private readonly TaskLoggingHelper _log; 529TaskLoggingHelper log)
src\TaskTracer.cs (2)
11readonly MsBuildUtils.TaskLoggingHelper _log; 14public TaskTracer(MsBuildUtils.TaskLoggingHelper log, bool verbose)
Microsoft.DotNet.Build.Tasks.Feed.Tests (8)
GeneralTests.cs (2)
115var taskLoggingHelper = new Microsoft.Build.Utilities.TaskLoggingHelper(new StubTask()); 149var taskLoggingHelper = new Microsoft.Build.Utilities.TaskLoggingHelper(new StubTask());
LatestLinksManagerTests.cs (4)
80var taskLoggingHelper = new Microsoft.Build.Utilities.TaskLoggingHelper(new StubTask()); 124var taskLoggingHelper = new Microsoft.Build.Utilities.TaskLoggingHelper(new StubTask()); 154var taskLoggingHelper = new TaskLoggingHelper(new StubTask()); 191var taskLoggingHelper = new TaskLoggingHelper(new StubTask());
PublishArtifactsInManifestTests.cs (2)
294Func<string, string, HttpClient, MsBuildUtils.TaskLoggingHelper, Task<PackageFeedStatus>> testCompareLocalPackage = async (string localPackageFullPath, string packageContentUrl, HttpClient client, MsBuildUtils.TaskLoggingHelper log) =>
Microsoft.DotNet.Build.Tasks.Installers (2)
src\Common\Internal\BuildTask.cs (2)
42private readonly TaskLoggingHelper _logger; 43public Log(TaskLoggingHelper logger)
Microsoft.DotNet.Build.Tasks.Packaging (2)
src\Common\Internal\BuildTask.cs (2)
42private readonly TaskLoggingHelper _logger; 43public Log(TaskLoggingHelper logger)
Microsoft.DotNet.Build.Tasks.TargetFramework (2)
src\Common\Internal\BuildTask.cs (2)
42private readonly TaskLoggingHelper _logger; 43public Log(TaskLoggingHelper logger)
Microsoft.DotNet.Build.Tasks.Templating (1)
MSBuildListSplitter.cs (1)
12public static IDictionary<string, string> GetNamedProperties(string[] input, TaskLoggingHelper log)
Microsoft.DotNet.Build.Tasks.Workloads (16)
FrameworkPackPackage.wix.cs (1)
21string destinationBaseDirectory, ITaskItem[]? shortNames = null, TaskLoggingHelper? log = null) :
LibraryPackPackage.wix.cs (1)
21string destinationBaseDirectory, ITaskItem[]? shortNames = null, TaskLoggingHelper? log = null) :
SdkPackPackage.wix.cs (1)
21string destinationBaseDirectory, ITaskItem[]? shortNames = null, TaskLoggingHelper? log = null) :
src\Common\Internal\BuildTask.cs (2)
42private readonly TaskLoggingHelper _logger; 43public Log(TaskLoggingHelper logger)
TemplatePackPackage.wix.cs (1)
21string destinationBaseDirectory, ITaskItem[]? shortNames = null, TaskLoggingHelper? log = null) :
ToolsPackPackage.wix.cs (1)
21string destinationBaseDirectory, ITaskItem[]? shortNames = null, TaskLoggingHelper? log = null) :
WorkloadManifestPackage.wix.cs (2)
73/// <param name="log">A <see cref="TaskLoggingHelper"/> class containing task logging methods.</param> 77ITaskItem[]? shortNames = null, TaskLoggingHelper? log = null, bool isSxS = false) :
WorkloadPackageBase.cs (4)
158/// Gets an instance of a <see cref="TaskLoggingHelper"/> class containing task logging methods. 160protected TaskLoggingHelper? Log 184/// <param name="log">A <see cref="TaskLoggingHelper"/> class containing task logging methods.</param> 185public WorkloadPackageBase(string packagePath, string destinationBaseDirectory, ITaskItem[]? shortNames = null, TaskLoggingHelper? log = null)
WorkloadPackPackage.wix.cs (2)
39ITaskItem[]? shortNames = null, TaskLoggingHelper? log = null) : base(packagePath, destinationBaseDirectory, shortNames, log) 113string destinationBaseDirectory, ITaskItem[]? shortNames, TaskLoggingHelper? log) =>
WorkloadSetPackage.wix.cs (1)
51ITaskItem[]? shortNames = null, TaskLoggingHelper? log = null) :
Microsoft.DotNet.Deployment.Tasks.Links (3)
Microsoft.DotNet.GenAPI.Task (3)
LogAdapter.cs (1)
8internal sealed class LogAdapter(TaskLoggingHelper taskLogger) : Logger
Logger.cs (2)
11/// Replacement and abstraction for <see cref="TaskLoggingHelper"/> in our 49/// cref="TaskLoggingHelper"/>.
Microsoft.DotNet.GenFacades (2)
src\Common\Internal\BuildTask.cs (2)
42private readonly TaskLoggingHelper _logger; 43public Log(TaskLoggingHelper logger)
Microsoft.DotNet.Helix.Sdk (10)
LoggerExtensions.cs (6)
25public static FailureCategoryScope EnterFailureCategoryScope(this TaskLoggingHelper log, FailureCategory category) 36private static void UpdateCategory(TaskLoggingHelper log) 42public static void LogError(this TaskLoggingHelper log, FailureCategory category, string message, params object[] messageArgs) 51this TaskLoggingHelper log, 66private TaskLoggingHelper _log; 68public FailureCategoryScope(TaskLoggingHelper log)
ProvisioningProfileProvider.cs (3)
51private readonly TaskLoggingHelper _log; 62TaskLoggingHelper log, 245serviceProvider.GetRequiredService<TaskLoggingHelper>(),
TaskItemExtensions.cs (1)
17public static bool GetRequiredMetadata(this ITaskItem item, TaskLoggingHelper log, string key, out string value)
Microsoft.DotNet.PackageTesting (2)
src\Common\Internal\BuildTask.cs (2)
42private readonly TaskLoggingHelper _logger; 43public Log(TaskLoggingHelper logger)
Microsoft.DotNet.SharedFramework.Sdk (2)
src\Common\Internal\BuildTask.cs (2)
42private readonly TaskLoggingHelper _logger; 43public Log(TaskLoggingHelper logger)
Microsoft.DotNet.SignTool (36)
src\BatchSignUtil.cs (6)
14using TaskLoggingHelper = Microsoft.Build.Utilities.TaskLoggingHelper; 20private readonly TaskLoggingHelper _log; 31TaskLoggingHelper log, 403internal static bool RunWixTool(string toolName, string arguments, string workingDirectory, string wixToolsPath, TaskLoggingHelper log) 469private void VerifyCertificates(TaskLoggingHelper log) 601private void VerifyAfterSign(TaskLoggingHelper log, FileSignInfo file)
src\Configuration.cs (2)
21private readonly TaskLoggingHelper _log; 121TaskLoggingHelper log,
src\RealSignTool.cs (4)
39internal RealSignTool(SignToolArgs args, TaskLoggingHelper log) : base(args, log) 138public override SigningStatus VerifySignedDeb(TaskLoggingHelper log, string filePath) 143public override SigningStatus VerifySignedRpm(TaskLoggingHelper log, string filePath) 170public override SigningStatus VerifySignedPkgOrAppBundle(TaskLoggingHelper log, string fullPath, string pkgToolPath)
src\SignTool.cs (5)
23internal readonly TaskLoggingHelper _log; 32internal SignTool(SignToolArgs args, TaskLoggingHelper log) 42public abstract SigningStatus VerifySignedDeb(TaskLoggingHelper log, string filePath); 43public abstract SigningStatus VerifySignedRpm(TaskLoggingHelper log, string filePath); 48public abstract SigningStatus VerifySignedPkgOrAppBundle(TaskLoggingHelper log, string filePath, string pkgToolPath);
src\ValidationOnlySignTool.cs (4)
20internal ValidationOnlySignTool(SignToolArgs args, TaskLoggingHelper log) 46public override SigningStatus VerifySignedDeb(TaskLoggingHelper log, string filePath) 49public override SigningStatus VerifySignedRpm(TaskLoggingHelper log, string filePath) 76public override SigningStatus VerifySignedPkgOrAppBundle(TaskLoggingHelper log, string filePath, string pkgToolPath) => SigningStatus.Signed;
src\VerifySignatures.cs (3)
31internal static SigningStatus IsSignedDeb(TaskLoggingHelper log, string filePath) 72internal static SigningStatus IsSignedRpm(TaskLoggingHelper log, string filePath) 177internal static SigningStatus IsSignedPkgOrAppBundle(TaskLoggingHelper log, string filePath, string pkgToolPath)
src\ZipData.cs (12)
106public void Repack(TaskLoggingHelper log, string tempDir, string wix3ToolsPath, string wixToolsPath, string tarToolPath, string pkgToolPath) 210private void RepackRawZip(TaskLoggingHelper log) 237private void RepackWixPack(TaskLoggingHelper log, string tempDir, string wix3ToolsPath, string wixToolsPath) 354private void RepackPkgOrAppBundles(TaskLoggingHelper log, string tempDir, string pkgToolPath) 472private void RepackTarGZip(TaskLoggingHelper log, string tempDir, string tarToolPath) 524private void RepackDebContainer(TaskLoggingHelper log, string tempDir) 562private string GetUpdatedControlArchive(TaskLoggingHelper log, string debianPackage, string dataArchive, string tempDir) 619internal static void ExtractTarballContents(TaskLoggingHelper log, string file, string destination, bool skipSymlinks = true) 680private void RepackRpmContainer(TaskLoggingHelper log, string tempDir) 762internal static void ExtractRpmPayloadContents(TaskLoggingHelper log, string rpmPackage, string layout) 777private static bool RunExternalProcess(TaskLoggingHelper log, string cmd, string args, out string output, string workingDir = null) 811internal static void SetUnixFileMode(TaskLoggingHelper log, uint? unixFileMode, string outputPath)
Microsoft.DotNet.SignTool.Tests (7)
FakeSignTool.cs (4)
17internal FakeSignTool(SignToolArgs args, TaskLoggingHelper log) 59public override SigningStatus VerifySignedDeb(TaskLoggingHelper log, string filePath) => SigningStatus.Signed; 61public override SigningStatus VerifySignedRpm(TaskLoggingHelper log, string filePath) => SigningStatus.Signed; 69public override SigningStatus VerifySignedPkgOrAppBundle(TaskLoggingHelper log, string filePath, string pkgToolPath) => SigningStatus.Signed;
SignToolTests.cs (3)
424var fakeLog = new TaskLoggingHelper(fakeBuildEngine, "TestLog"); 484var fakeLog = new TaskLoggingHelper(fakeBuildEngine, "TestLog"); 3551var fakeLog = new TaskLoggingHelper(fakeBuildEngine, "TestLog");
Microsoft.DotNet.XliffTasks (2)
Tasks\TaskLoggingHelperExtensions.cs (2)
13public static void LogErrorInFile(this TaskLoggingHelper log, string file, string message) 30public static void LogErrorInFile(this TaskLoggingHelper log, string file, int line, string message)
Microsoft.Extensions.Logging.MSBuild (5)
MSBuildLogger.cs (2)
38private readonly TaskLoggingHelper _loggingHelper; 42public MSBuildLogger(string category, TaskLoggingHelper loggingHelperToWrap, IExternalScopeProvider? scopeProvider = null)
MSBuildLoggerProvider.cs (3)
10/// all the logs to MSBuild's <see cref="TaskLoggingHelper"/>. 14private readonly TaskLoggingHelper _loggingHelper; 18public MSBuildLoggerProvider(TaskLoggingHelper loggingHelperToWrap)
Microsoft.Maui.Controls.Build.Tasks (7)
ILContext.cs (1)
47 public TaskLoggingHelper LoggingHelper { get; internal set; }
XamlCTask.cs (5)
18 /// Provides extension methods for the <see cref="TaskLoggingHelper"/> class to assist with logging warnings and errors. 36 this TaskLoggingHelper loggingHelper, 90 public static void LogWarningOrError(this TaskLoggingHelper loggingHelper, BuildExceptionCode code, string xamlFilePath, int lineNumber, int linePosition, int endLineNumber, int endLinePosition, params object[] messageArgs) 110 public static string GetXamlFilePath(this TaskLoggingHelper loggingHelper, string xamlFilePath) 415 bool TryCoreCompile(MethodDefinition initComp, ILRootNode rootnode, string xamlFilePath, TaskLoggingHelper loggingHelper, out Exception exception)
XamlTask.cs (1)
25 internal TaskLoggingHelper LoggingHelper { get; }
Microsoft.Maui.Resizetizer (1)
AsyncTask.cs (1)
50 private new TaskLoggingHelper Log => base.Log;
Microsoft.NET.Build.Extensions.Tasks (1)
LogAdapter.cs (1)
8internal sealed class LogAdapter(TaskLoggingHelper taskLogger) : Logger
Microsoft.NET.Build.Tasks (1)
LogAdapter.cs (1)
8internal sealed class LogAdapter(TaskLoggingHelper taskLogger) : Logger
Microsoft.NET.Sdk.Publish.Tasks (27)
Kudu\KuduConnect.cs (1)
12internal KuduConnect(KuduConnectionInfo connectionInfo, TaskLoggingHelper logger)
Kudu\KuduVfsDeploy.cs (2)
13private TaskLoggingHelper _logger; 16public KuduVfsDeploy(KuduConnectionInfo connectionInfo, TaskLoggingHelper logger)
Kudu\KuduZipDeploy.cs (2)
12private TaskLoggingHelper _logger; 14public KuduZipDeploy(KuduConnectionInfo connectionInfo, TaskLoggingHelper logger)
MsDeploy\CommonUtility.cs (8)
422public static bool CheckMSDeploymentVersion(Utilities.TaskLoggingHelper log, out string? errorMessage) 679public static void MsDeployExeEndOfExecuteMessage(bool bSuccess, string destType, string destRoot, Utilities.TaskLoggingHelper Log) 743public static void MsDeployEndOfExecuteMessage(bool bSuccess, string destType, string destRoot, Utilities.TaskLoggingHelper Log) 858internal static void AdjustSkipDirectives(/*Deployment.DeploymentBaseOptions*/ dynamic baseOptions, List<string> stringList, bool enabled, Utilities.TaskLoggingHelper log) 886Utilities.TaskLoggingHelper log) 1365internal static void RemoveAllEmptyDirectories(string dirPath, Utilities.TaskLoggingHelper Log) 1374internal static void RemoveAllEmptyDirectories(DirectoryInfo dirinfo, Utilities.TaskLoggingHelper log) 1543internal static void LogVsMsDeployException(Utilities.TaskLoggingHelper Log, Exception e)
MsDeploy\IVSMSDeployTask.cs (1)
13TaskLoggingHelper Log { get; }
Tasks\MsDeploy\CreateManifestFile.cs (1)
51private static void WriteManifestsToFile(Utilities.TaskLoggingHelper loggingHelper, Framework.ITaskItem[]? items, string outputFileName)
Tasks\MsDeploy\CreateParameterFile.cs (4)
82private static void WriteDeclareParametersToFile(Utilities.TaskLoggingHelper loggingHelper, Framework.ITaskItem[]? parameters, string outputFileName, bool foptimisticParameterDefaultValue) 87private static void WriteDeclareSetParametersToFile(Utilities.TaskLoggingHelper loggingHelper, Framework.ITaskItem[]? parameters, string outputFileName, bool foptimisticParameterDefaultValue) 92private static void WriteDeclareParametersToFile(Utilities.TaskLoggingHelper loggingHelper, 233private static void WriteSetParametersToFile(Utilities.TaskLoggingHelper loggingHelper, Framework.ITaskItem[]? parameters, string outputFileName, bool foptimisticParameterDefaultValue)
Tasks\MsDeploy\VsMsdeploy.cs (1)
910Utilities.TaskLoggingHelper IVsPublishMsBuildTaskHost.Log
Tasks\OneDeploy\TaskLogger.cs (2)
12internal class TaskLogger(TaskLoggingHelper logger, bool isEnabled = true) : ITaskLogger 14private readonly TaskLoggingHelper _taskLoggingHelper = logger;
Tasks\Xdt\TaskTransformationLogger.cs (3)
14private TaskLoggingHelper loggingHelper; 23public TaskTransformationLogger(TaskLoggingHelper loggingHelper) 28public TaskTransformationLogger(TaskLoggingHelper loggingHelper, bool stackTrace)
Tasks\ZipDeploy\ZipDeploymentStatus.cs (2)
21private readonly TaskLoggingHelper _log; 24public ZipDeploymentStatus(IHttpClient client, string userAgent, TaskLoggingHelper log, bool logMessages)
Microsoft.NET.Sdk.StaticWebAssets.Tasks (12)
Data\ContentTypeProvider.cs (2)
424internal ContentTypeMapping ResolveContentTypeMapping(StaticWebAssetGlobMatcher.MatchContext context, TaskLoggingHelper log) 454private bool TryGetMapping(StaticWebAssetGlobMatcher.MatchContext context, TaskLoggingHelper log, ReadOnlySpan<char> relativePath, out ContentTypeMapping mapping)
DefineStaticWebAssetEndpoints.cs (3)
107TaskLoggingHelper log, 114public TaskLoggingHelper Log { get; } = log; 202private static (string mimeType, string cache) ResolveContentType(StaticWebAsset asset, ContentTypeProvider contentTypeProvider, StaticWebAssetGlobMatcher.MatchContext matchContext, TaskLoggingHelper log)
DefineStaticWebAssets.Cache.cs (4)
78private TaskLoggingHelper? _log; 82internal DefineStaticWebAssetsCache(TaskLoggingHelper log, string? manifestPath) : this() 95internal static DefineStaticWebAssetsCache ReadOrCreateCache(TaskLoggingHelper log, string manifestPath) 234internal void SetPathAndLogger(string? manifestPath, TaskLoggingHelper log) => (_manifestPath, _log) = (manifestPath, log);
FingerprintPatternMatcher.cs (2)
15private readonly TaskLoggingHelper _log; 20TaskLoggingHelper log,
Utils\AssetToCompress.cs (1)
13public static bool TryFindInputFilePath(ITaskItem assetToCompress, TaskLoggingHelper log, out string fullPath)
Microsoft.NET.Sdk.StaticWebAssets.Tests (5)
StaticWebAssets\ContentTypeProviderTests.cs (1)
13private readonly TaskLoggingHelper _log = new TestTaskLoggingHelper();
StaticWebAssets\DiscoverStaticWebAssetsTest.cs (3)
808private static TaskLoggingHelper CreateLogger() 814var loggingHelper = new TaskLoggingHelper(buildEngine.Object, "DefineStaticWebAssets"); 824var loggingHelper = CreateLogger();
StaticWebAssets\FingerprintPatternMatcherTest.cs (1)
13private readonly TaskLoggingHelper _log = new TestTaskLoggingHelper();
PresentationBuildTasks (5)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
148internal TaskLoggingHelper TaskLogger 3548private TaskLoggingHelper _taskLogger = null;
MS\Internal\Tasks\CompilerWrapper.cs (2)
188internal TaskLoggingHelper TaskLogger 434private TaskLoggingHelper _taskLogger;
MS\Internal\Tasks\TaskHelper.cs (1)
45internal static void DisplayLogo(TaskLoggingHelper log, string taskName)