35 references to Strings
NuGet.Build.Tasks (21)
BuildTasksUtility.cs (6)
286log.LogMinimal(Strings.NoProjectsToRestore); 390throw new ArgumentException(Strings.Argument_Cannot_Be_Null_Or_Empty, nameof(projectDirectory)); 395throw new ArgumentException(Strings.Argument_Cannot_Be_Null_Or_Empty, nameof(projectName)); 723throw new ArgumentException(Strings.Argument_Cannot_Be_Null_Or_Empty, nameof(projectFullPath)); 740throw new ArgumentException(Strings.Argument_Cannot_Be_Null_Or_Empty, nameof(projectDirectory)); 745throw new ArgumentException(Strings.Argument_Cannot_Be_Null_Or_Empty, nameof(projectName));
CheckForDuplicateNuGetItemsTask.cs (1)
65Strings.Error_DuplicateItems,
GetReferenceNearestTargetFrameworkTask.cs (4)
78var errorMessage = string.Format(CultureInfo.CurrentCulture, Strings.UnsupportedTargetFramework, $"TargetFrameworkMoniker: {CurrentProjectTargetFramework}, TargetPlatformMoniker:{CurrentProjectTargetPlatform}"); 90errorMessage = string.Format(CultureInfo.CurrentCulture, Strings.UnsupportedFallbackFramework, fallbackFramework); 177Strings.ImportsFallbackWarning, 195logger.LogError(string.Format(CultureInfo.CurrentCulture, Strings.NoCompatibleTargetFramework, project.ItemSpec, projectNuGetFramework.DotNetFrameworkName, referencedProjectFrameworkString));
NuGetMessageTask.cs (2)
13/// A task that logs a message from the localized <see cref="Strings"/> resource. 25: base(Strings.ResourceManager)
RestoreTask.cs (3)
155log.LogError(Strings.RestoreCanceled); 169log.LogWarning(Strings.NoProjectsProvidedToTask); 184log.LogInformation(Strings.Log_RestoreNoCacheInformation);
StaticGraphRestoreTaskBase.cs (4)
30: base(Strings.ResourceManager) 153Log.LogMessageFromResources(MessageImportance.Low, nameof(Strings.Log_RunningStaticGraphRestoreCommand), process.StartInfo.FileName, process.StartInfo.Arguments); 166Log.LogErrorFromResources(nameof(Strings.Error_StaticGraphRestoreFailedToStart), e.Message); 220Log.LogErrorFromResources(nameof(Strings.Error_StaticGraphNonZeroExitCode), process.ExitCode);
Strings.Designer.cs (1)
42global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("NuGet.Build.Tasks.Strings", typeof(Strings).Assembly);
NuGet.Build.Tasks.Console (14)
MSBuildStaticGraphRestore.cs (9)
145MSBuildLogger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Log_NoProjectsForRestore)); 200LoggingQueue.TaskLoggingHelper.LogError(Strings.Error_DgSpecGenerationFailed); 211LoggingQueue.TaskLoggingHelper.LogError(Strings.Error_MissingRestoreGraphOutputPath); 298throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PackageDownload_NoVersion, id)); 308throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Strings.Error_PackageDownload_OnlyExactVersionsAreAllowed, id, versionRange.OriginalString)); 706Strings.Log_ProjectsInSolutionNotKnowntoMSBuild, 860MSBuildLogger.LogMinimal(Strings.DeterminingProjectsToRestore); 941MSBuildLogger.LogDebug(string.Format(CultureInfo.CurrentCulture, Strings.CreatedDependencyGraphSpec, sw.ElapsedMilliseconds)); 1273MSBuildLogger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.ProjectEvaluationSummary, projectGraph.ProjectNodes.Count, sw.ElapsedMilliseconds, buildCount, failedBuildSubmissionCount));
Program.cs (5)
118Message = string.Format(CultureInfo.CurrentCulture, Strings.Error_StaticGraphUnhandledException, e.ToString()), 169LogError(errorWriter, Strings.Error_StaticGraphRestoreArgumentParsingFailedInvalidNumberOfArguments, args.Length); 257LogError(errorWriter, Strings.Error_StaticGraphRestoreArgumentsParsingFailedExceptionReadingStream, e.Message, e.ToString()); 267LogError(errorWriter, Strings.Error_StaticGraphRestoreArgumentsParsingFailedUnexpectedIntegerValue, count); 285LogError(errorWriter, Strings.Error_StaticGraphRestoreArgumentsParsingFailedExceptionReadingStream, e.Message, e.ToString());