32 references to FormatResourceStringStripCodeAndKeyword
Microsoft.Build (16)
Definition\Toolset.cs (1)
1010
string rootedPathMessage = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("OverrideTaskProblemWithPath", _overrideTasksPath, e.Message);
Logging\DistributedLoggers\DistributedFileLogger.cs (1)
75
string message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("InvalidFileLoggerFile", string.Empty, ResourceUtilities.GetResourceString("logfilePathNullOrEmpty"));
Logging\ParallelLogger\ParallelConsoleLogger.cs (12)
700
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectFinishedPrefixWithTargetNamesMultiProc", projectName, targets), true);
704
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectFinishedPrefixWithTargetNamesMultiProcFailed", projectName, targets), true);
913
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetMessageWithId", e.Message, e.BuildEventContext.TargetId), true);
951
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TaskMessageWithId", e.Message, e.BuildEventContext.TaskId), prefixAlreadyWritten);
995
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TaskMessageWithId", e.Message, e.BuildEventContext.TaskId), prefixAlreadyWritten);
1285
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TaskMessageWithId", nonNullMessage, e.BuildEventContext.TaskId), prefixAlreadyWritten, prefixAdjustment);
1342
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetMessageWithId", targetName, e.BuildEventContext.TargetId), prefixAlreadyWritten);
1453
targetName = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetMessageWithId", targetStartedEvent.TargetName, targetStartedEvent.ProjectBuildEventContext.TargetId);
1470
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetStartedProjectEntry", targetName, currentProjectFile), true);
1536
message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectStartedTopLevelProjectWithDefaultTargets", current, currentProjectNodeId);
1621
prefixString = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("BuildEventContext", context, key) + ">";
1625
prefixString = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("BuildEventContext", context, string.Empty) + " ";
Logging\ParallelLogger\ParallelLoggerHelpers.cs (1)
161
stackTrace.Add(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectStackWithDefaultTargets", projectStartedEvent.ProjectFile, projectStartedEvent.FullProjectKey));
ToolsetElement.cs (1)
290
string message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("MultipleDefinitionsForSameExtensionsPathOS", os, locationString);
Microsoft.Build.BuildCheck.UnitTests (1)
EndToEndTests.cs (1)
482
projectCheckBuildLog.ShouldContain(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(
Microsoft.Build.Engine.UnitTests (15)
BackEnd\LoggingServicesLogMethod_Tests.cs (3)
830
message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectStartedPrefixForTopLevelProjectWithTargetNames", Path.GetFileName(projectFile), targetNames);
1492
string message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(succeeded ? "TargetFinishedSuccess" : "TargetFinishedFailure", targetName, Path.GetFileName(projectFile));
1517
message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetStartedProjectEntry", targetName, projectFile);
ConsoleLogger_Tests.cs (10)
392
string targetStartedMessage = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetStartedProjectEntry", "YYY", tempProjectPath);
617
string context = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("BuildEventContext", LogFormatter.FormatLogTimeStamp(be.Timestamp), 0) + ">";
618
message = context + ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TaskMessageWithId", "my 1337 message", be.BuildEventContext.TaskId);
622
string context = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("BuildEventContext", string.Empty, 0) + ">";
1282
ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectStartedPrefixForNestedProjectWithDefaultTargets", "fname1", "fname2") + Environment.NewLine +
1324
" " + ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectStartedPrefixForNestedProjectWithDefaultTargets", "fname1", "fname2") + Environment.NewLine +
2437
actualLog.ShouldContain(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectFinishedPrefixWithTargetNamesMultiProc", "None", "Build") + Environment.NewLine);
2440
actualLog.ShouldContain(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectFinishedPrefixWithTargetNamesMultiProc", "None", "Build") + Environment.NewLine + Environment.NewLine);
2444
actualLog.ShouldNotContain(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectFinishedPrefixWithTargetNamesMultiProc", "None", "Build") + Environment.NewLine + Environment.NewLine);
2448
actualLog.ShouldNotContain(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectFinishedPrefixWithTargetNamesMultiProc", "None", "Build") + Environment.NewLine + Environment.NewLine);
EscapingInProjects_Tests.cs (1)
784
string expectedErrorMessage = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("NameInvalid", "$", "$");
XmlUtilities_Tests.cs (1)
49
string expected = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("OM_NameInvalid", name, badChar);