13 references to FormatResourceStringStripCodeAndKeyword
Microsoft.Build.CommandLine.UnitTests (1)
XMake_Tests.cs (1)
2019
exception.Message.ShouldBe(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("AmbiguousProjectDirectoryError", projectDirectory));
MSBuild (12)
CommandLineSwitchException.cs (1)
75
return base.Message + Environment.NewLine + ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("InvalidSwitchIndicator", commandLineArg);
ErrorUtilities.cs (2)
532
throw new ArgumentException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Shared.ParameterCannotHaveZeroLength", parameterName));
585
throw new ArgumentNullException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
(resourceName, parameterName), (Exception?)null);
InitializationException.cs (1)
80
return base.Message + Environment.NewLine + ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("InvalidSwitchIndicator", invalidSwitch);
ProjectSchemaValidationHandler.cs (1)
59
ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("SchemaNotFoundErrorWithFile", schemaFile),
TempFileUtilities.cs (1)
199
throw new IOException(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("Shared.FailedCreatingTempFile", ex.Message), ex);
XMake.cs (6)
214
Console.WriteLine(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("InvalidConfigurationFile", builder.ToString()));
982
Console.WriteLine(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("LoggerFailurePrefixWithErrorCode", e.Message));
1306
InitializationException.Throw(ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("ProjectUpgradeNeededToVcxProj", projectFile), null);
1726
var message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("TargetsCouldNotBePrinted", ex);
4490
var message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("InvalidLogFileFormat", ex.Message);
4548
message = ResourceUtilities.
FormatResourceStringStripCodeAndKeyword
("InvalidToolsVersionError", message);