16 references to FormatResourceStringStripCodeAndKeyword
Microsoft.Build (9)
Logging\BinaryLogger\BinaryLogReplayEventSource.cs (1)
172
var text = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("UnsupportedLogFileFormat", fileFormatVersion, minimumReaderVersion, BinaryLogger.FileFormatVersion);
Logging\BinaryLogger\BuildEventArgsReader.cs (2)
262
ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Binlog_ReaderUnknownType",
273
string ErrorFactory() => ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(
Logging\LoggerDescription.cs (1)
225
string message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("LoggerInstantiationFailureErrorInvalidCast", _loggerClassName, _loggerAssembly.AssemblyLocation, e.Message);
Logging\ParallelLogger\ParallelConsoleLogger.cs (4)
1466
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetStartedProjectDepends", targetName, currentProjectFile, targetStartedEvent.ParentTarget), true);
1481
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetStartedFileProjectEntry", targetName, targetStartedEvent.TargetFile, currentProjectFile), true);
1487
WriteMessageAligned(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetStartedFileProjectEntry", targetName, targetStartedEvent.TargetFile, currentProjectFile), true);
1540
message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectStartedTopLevelProjectWithTargetNames", current, currentProjectNodeId, targetNames);
Logging\ParallelLogger\ParallelLoggerHelpers.cs (1)
157
stackTrace.Add(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectStackWithTargetNames", projectStartedEvent.ProjectFile, projectStartedEvent.TargetNames, projectStartedEvent.FullProjectKey));
Microsoft.Build.Engine.UnitTests (7)
BackEnd\LoggingServicesLogMethod_Tests.cs (2)
1521
message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetStartedFileProjectEntry", targetName, projectFileOfTarget, projectFile);
1544
message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetStartedProjectDepends", targetName, projectFile, parentTargetName);
BackEnd\TaskBuilder_Tests.cs (4)
246
logger.AssertLogContains(new string[] { ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("PropertyOutputOverridden", "LinkSwitches", "/assemblyresource:a.resx,foo", "/assemblyresource:b.resx,bar") });
247
logger.AssertLogContains(new string[] { ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("PropertyOutputOverridden", "LinkSwitches", "/assemblyresource:b.resx,bar", "/assemblyresource:c.resx,barz") });
303
logger.AssertLogContains(new string[] { ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("PropertyOutputOverridden", "LinkSwitches", "/assemblyresource:a.resx,foo", "/assemblyresource:b.resx,bar") });
304
logger.AssertLogContains(new string[] { ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("PropertyOutputOverridden", "LinkSwitches", "/assemblyresource:b.resx,bar", "/assemblyresource:c.resx,barz") });
ConsoleLogger_Tests.cs (1)
2325
string resourceString = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectStartedTopLevelProjectWithTargetNames", "None", 1, "Build");