26 references to NuGetConfigurationException
NuGet.Configuration (26)
ClientCertificate\ClientCertificateProvider.cs (1)
73
throw new
NuGetConfigurationException
(message);
Settings\Items\CertificateItem.cs (1)
84
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile,
Settings\Items\CredentialsItem.cs (5)
156
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOneUsername, origin.ConfigFilePath));
165
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOnePassword, origin.ConfigFilePath));
175
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOnePassword, origin.ConfigFilePath));
185
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOneValidAuthenticationTypes, origin.ConfigFilePath));
194
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.CredentialsItemMustHaveUsernamePassword, origin.ConfigFilePath));
Settings\Items\FileClientCertItem.cs (3)
62
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture,
70
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture,
166
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture,
Settings\Items\OwnersItem.cs (1)
46
throw new
NuGetConfigurationException
(
Settings\Items\PackageSourceMappingSourceItem.cs (1)
85
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.Error_ItemNeedsAtLeastOnePackagePatternWithPath, Key, origin.ConfigFilePath));
Settings\Items\RepositoryItem.cs (1)
73
throw new
NuGetConfigurationException
(
Settings\Items\StoreClientCertItem.cs (1)
246
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture,
Settings\Items\TrustedSignerItem.cs (2)
63
throw new
NuGetConfigurationException
(
77
throw new
NuGetConfigurationException
(
Settings\NuGetConfiguration.cs (1)
67
throw new
NuGetConfigurationException
(
Settings\SettingElement.cs (5)
240
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile,
249
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile,
263
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile,
277
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile,
291
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile,
Settings\SettingFactory.cs (1)
180
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.Error_DuplicatePackageSource, duplicatedKey, source));
Settings\SettingItem.cs (1)
33
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.ShowError_CannotHaveChildren, element.Name.LocalName, origin.ConfigFilePath));
Settings\SettingText.cs (1)
78
throw new
NuGetConfigurationException
(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.TextShouldNotBeEmpty, origin.ConfigFilePath));
Utility\SettingsUtility.cs (1)
459
throw new
NuGetConfigurationException
(message);