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