Commands\New\PostActions\DotnetAddPostActionProcessor.cs (18)
48Reporter.Error.WriteLine(CliCommandStrings.PostAction_AddReference_Error_ActionMisconfigured);
58Reporter.Error.WriteLine(CliCommandStrings.PostAction_AddReference_Error_UnresolvedProjFile);
59Reporter.Error.WriteLine(CliCommandStrings.PostAction_AddReference_Error_ProjFileListHeader);
62Reporter.Error.WriteLine(string.Format("\t{0}", projectFile));
76Reporter.Error.WriteLine(CliCommandStrings.PostAction_AddReference_Error_UnresolvedProjFile);
118Reporter.Error.WriteLine(CliCommandStrings.PostAction_AddReference_Error_ActionMisconfigured);
124Reporter.Error.WriteLine(CliCommandStrings.PostAction_AddReference_Error_ActionMisconfigured);
144Reporter.Error.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_Error_FrameworkNotSupported, referenceToAdd));
149Reporter.Error.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_Error_UnsupportedRefType, referenceType));
160Reporter.Output.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_AddPackageReference, packageName, projectPath));
164Reporter.Output.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_AddPackageReference_WithVersion, packageName, version, projectPath));
169Reporter.Output.WriteLine(CliCommandStrings.PostAction_AddReference_Succeeded);
173Reporter.Error.WriteLine(CliCommandStrings.PostAction_AddReference_Failed);
179Reporter.Error.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_AddPackageReference_Failed, e.Message));
188Reporter.Output.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_AddProjectReference, projectToAdd, projectPath));
192Reporter.Output.WriteLine(CliCommandStrings.PostAction_AddReference_Succeeded);
196Reporter.Error.WriteLine(CliCommandStrings.PostAction_AddReference_Failed);
202Reporter.Error.WriteLine(string.Format(CliCommandStrings.PostAction_AddReference_AddProjectReference_Failed, e.Message));
Commands\Workload\Install\FileBasedInstaller.cs (12)
154_reporter.WriteLine(string.Format(CliCommandStrings.WorkloadPackAlreadyInstalledMessage, packInfo.ResolvedPackageId, packInfo.Version));
177_reporter.WriteLine(string.Format(CliCommandStrings.UsingCacheForPackInstall, packInfo.ResolvedPackageId, packInfo.Version, offlineCache));
189_reporter.WriteLine(string.Format(CliCommandStrings.InstallingPackVersionMessage, packInfo.ResolvedPackageId, packInfo.Version));
232_reporter.WriteLine(string.Format(CliCommandStrings.RollingBackPackInstall, packInfo.ResolvedPackageId));
242_reporter.WriteLine(string.Format(CliCommandStrings.WorkloadInstallRollBackFailedMessage, e.Message));
280_reporter.WriteLine(string.Format(CliCommandStrings.InstallingWorkloadManifest, manifestUpdate.ManifestId, manifestUpdate.NewVersion));
414_reporter.WriteLine(string.Format(CliCommandStrings.GarbageCollectingSdkFeatureBandsMessage, string.Join(" ", installedSdkFeatureBands)));
459_reporter.WriteLine(string.Format(CliCommandStrings.DeletingWorkloadSet, workloadSetVersion));
494_reporter.WriteLine(string.Format(CliCommandStrings.DeletingWorkloadManifest, manifestId, $"{manifestVersion}/{manifestFeatureBand}"));
587_reporter.WriteLine(string.Format(CliCommandStrings.UpdatedWorkloadMode, newModeString));
708_reporter.WriteLine(string.Format(CliCommandStrings.DeletingWorkloadPack, packInfo.Id, packInfo.Version));
874_reporter.WriteLine(string.Format(CliCommandStrings.WritingPackInstallRecordMessage, packInfo.ResolvedPackageId, packInfo.Version));
Commands\Workload\Search\WorkloadSearchVersionsCommand.cs (9)
95Utils.Reporter.Error.WriteLine(string.Format(CliCommandStrings.NoWorkloadVersionsFound, new SdkFeatureBand(_sdkVersion)));
101Reporter.WriteLine(JsonSerializer.Serialize(versions.Select(version => new Dictionary<string, string>()
108Reporter.WriteLine(string.Join('\n', versions));
121Reporter.WriteLine(string.Format(CliCommandStrings.WorkloadVersionWithSpecifiedManifestNotFound, string.Join(' ', _workloadVersion)));
125Reporter.WriteLine(JsonSerializer.Serialize(versions.Select(version => version.ToDictionary(_ => "workloadVersion", v => v)), WorkloadSearchVersionsJsonSerializerContext.Default.IEnumerableDictionaryStringString));
129Reporter.WriteLine(string.Join('\n', versions));
138Reporter.WriteLine(JsonSerializer.Serialize(new Dictionary<string, Dictionary<string, string>>()
149table.PrintRows(workloadSet.ManifestVersions, l => Reporter.WriteLine(l));
187Utils.Reporter.Error.WriteLine(string.Format(CliCommandStrings.NoWorkloadVersionsFound, featureBand));