14 references to SR
MSBuildTaskHost (14)
BackEnd\TaskParameter.cs (2)
640
SR
.Shared_CannotChangeItemSpecModifiers,
656
SR
.Shared_CannotChangeItemSpecModifiers,
Microsoft.Build.TaskHost.Resources.SR.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
SR
)));
OutOfProcTaskHostNode.cs (5)
275
LogErrorFromResource(
SR
.BuildEngineCallbacksInTaskHostUnsupported);
285
LogErrorFromResource(
SR
.BuildEngineCallbacksInTaskHostUnsupported);
718
LogMessageFromResource(MessageImportance.Low,
SR
.ModifyingTaskHostEnvironmentHeader);
728
LogMessageFromResource(MessageImportance.Low, string.Format(
SR
.ModifyingTaskHostEnvironmentVariable, variable.Key, newValue, environmentValue ?? string.Empty));
858
LogWarningFromResource(string.Format(
SR
.ExpectedEventToBeSerializable, e.GetType().Name));
TaskLoader.cs (2)
62
logError(taskLocation, taskLine, taskColumn, string.Format(
SR
.TaskNotMarshalByRef, taskName));
114
logError(taskLocation, taskLine, taskColumn, string.Format(
SR
.ConflictingTaskAssembly, loadedType.AssemblyFilePath, loadedType.Type.Assembly.Location));
Utilities\ErrorUtilities.cs (2)
158
=> throw new ArgumentException(string.Format(
SR
.Shared_ParameterCannotHaveZeroLength, parameterName), parameterName);
169
ThrowArgumentNull(parameterName,
SR
.Shared_ParameterCannotBeNull);
Utilities\FileUtilities.cs (1)
181
string message = string.Format(
SR
.Shared_PathTooLong, path, NativeMethods.MaxPath);
Utilities\FileUtilities.ItemSpecModifiers.cs (1)
244
ErrorUtilities.ThrowInvalidOperation(
SR
.Shared_InvalidFilespecForTransform, modifier, itemSpec, e.Message);