13 references to Strings
Microsoft.DotNet.Build.Tasks.Workloads (13)
EmbeddedTemplates.cs (2)
37throw new KeyNotFoundException(string.Format(Strings.TemplateNotFound, filename)); 56throw new IOException(string.Format(Strings.TemplateResourceNotFound, resourceName));
Strings.Designer.cs (1)
42global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Microsoft.DotNet.Build.Tasks.Workloads.Strings", typeof(Strings).Assembly);
Swix\ComponentSwixProject.cs (1)
36throw new ArgumentException(string.Format(Strings.ComponentMustHaveAtLeastOneDependency, component.Name));
Swix\SwixComponent.cs (3)
171resourceItem != null && !string.IsNullOrEmpty(resourceItem.GetMetadata(Metadata.Title)) ? resourceItem.GetMetadata(Metadata.Title) : workload.Description ?? throw new Exception(Strings.ComponentTitleCannotBeNull), 172resourceItem != null && !string.IsNullOrEmpty(resourceItem.GetMetadata(Metadata.Description)) ? resourceItem.GetMetadata(Metadata.Description) : workload.Description ?? throw new Exception(Strings.ComponentDescriptionCannotBeNull), 174resourceItem != null && !string.IsNullOrEmpty(resourceItem.GetMetadata(Metadata.Category)) ? resourceItem.GetMetadata(Metadata.Category) : DefaultValues.ComponentCategory ?? throw new Exception(Strings.ComponentCategoryCannotBeNull),
Swix\SwixDependency.cs (2)
60throw new ArgumentException(Strings.SwixDependencyVersionRequired); 65throw new ArgumentException(Strings.SwixDependencyMaxVersionLessThanMinVersion);
Swix\SwixProjectBase.cs (1)
110throw new Exception(string.Format(Strings.RelativePackagePathTooLong, MaxRelativePackagePath, relativePackagePath));
WorkloadPackageBase.cs (3)
260Log?.LogMessage(MessageImportance.Low, string.Format(Strings.WorkloadPackageDeleteExclusion, file)); 307throw new FormatException(string.Format(Strings.CannotExtractSdkVersionFromPackageId, packageId)); 337throw new Exception(string.Format(Strings.NoInstallerVersion, taskName,