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