34 references to Resources
dotnet-svcutil-lib (34)
artifacts\obj\dotnet-svcutil-lib\Debug\netstandard2.0\Microsoft.Tools.ServiceModel.Svcutil.Shared.Resources.cs (1)
10
internal static global::System.Resources.ResourceManager ResourceManager => s_resourceManager ?? (s_resourceManager = new global::System.Resources.ResourceManager(typeof(
Resources
)));
CommandProcessorOptions.cs (1)
619
await logger.WriteMessageAsync(Shared.
Resources
.ResolvingProjectReferences, logToUI: this.ToolContext <= OperationalContext.Global).ConfigureAwait(false);
Shared\MSBuildProj.cs (9)
183
throw new Exception(Shared.
Resources
.ErrorInvalidProjectFormat);
329
throw new Exception(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorProjectReferenceMissingFilePathFormat, binReference));
393
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorFullPathNotAProjectFilePathFormat, fullPath));
398
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorProjectFileAlreadyExistsFormat, fullPath));
484
throw new Exception(Shared.
Resources
.ErrorInvalidProjectFormat);
511
throw new Exception(Shared.
Resources
.ErrorInvalidProjectFormat);
773
await safeLogger.WriteWarningAsync(Shared.
Resources
.WarningMultiFxOrNoSupportedDnxVersion, logToUI: true).ConfigureAwait(false);
839
await safeLogger.WriteWarningAsync(Shared.
Resources
.WarningMultiFxOrNoSupportedDnxVersion, logToUI: true).ConfigureAwait(false);
844
await safeLogger.WriteWarningAsync(Shared.
Resources
.WarningCannotResolveProjectReferences, logToUI: true).ConfigureAwait(false);
Shared\Options\ApplicationOptions.cs (2)
75
throw new InvalidOperationException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorOptionAlreadyRegisteredFormat, option.Name));
205
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.WarningUnrecognizedOptionFormat, optionId));
Shared\Options\ListValue.cs (1)
33
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorOptionDuplicateValueFormat, this.Owner.Name, value));
Shared\Options\OptionBase.cs (1)
182
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorOptionAlreadyDeserializedFormat, this.SerializationName));
Shared\Options\OptionsSerializer.cs (3)
70
var jOptionsObject = jPropInfo.Value as JObject ?? throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidOptionValueFormat, jPropInfo.Value?.Type, option.SerializationName));
82
options.AddWarning(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.WarningUnrecognizedOptionFormat, jPropInfo.Key));
114
options.AddWarning(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.WarningUnrecognizedOptionFormat, jProperty.Key));
Shared\Options\OptionValueParser.cs (4)
238
var invalidValueError = string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidOptionValueFormat, value, option.Name);
239
var supportedValues = string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorOnInvalidEnumSupportedValuesFormat, string.Join(", ", Enum.GetNames(typeof(TValue))));
271
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidOptionValueFormat, value, option.Name));
277
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidOptionValueFormat, value, option.Name), innerException);
Shared\ProjectDependency.cs (11)
77
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidDependencyValue, filePath, nameof(filePath)));
82
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidDependencyValue, packageName, nameof(packageName)));
91
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidDependencyValue, packageVersion, nameof(packageVersion)));
96
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidDependencyValue, dependencyType, nameof(dependencyType)));
104
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidDependencyValue, packageName, nameof(packageName)));
110
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidDependencyValue, packageName, nameof(packageName)));
120
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidDependencyValue, packageName, nameof(packageName)));
127
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidDependencyValue, filePath, nameof(filePath)));
140
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidDependencyValue, filePath, nameof(filePath)));
180
throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorInvalidDependencyValue, dependencySpec, nameof(dependencySpec)));
273
throw new FormatException(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorDepenencySpecFormat, dependencySpec));
Shared\TargetFrameworkHelper.cs (1)
128
throw new Exception(string.Format(CultureInfo.CurrentCulture, Shared.
Resources
.ErrorNotSupportedTargetFrameworkFormat,