35 instantiations of NuGetConfigurationException
NuGet.Configuration (35)
ClientCertificate\ClientCertificateProvider.cs (1)
73throw new NuGetConfigurationException(message);
PackageSource\PackageSourceCredential.cs (2)
64throw new NuGetConfigurationException( 168throw new NuGetConfigurationException(
PackageSource\PackageSourceProvider.cs (1)
801throw new NuGetConfigurationException(message, e);
Settings\Items\CertificateItem.cs (1)
84throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile,
Settings\Items\CredentialsItem.cs (5)
156throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOneUsername, origin.ConfigFilePath)); 165throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOnePassword, origin.ConfigFilePath)); 175throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOnePassword, origin.ConfigFilePath)); 185throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.Error_MoreThanOneValidAuthenticationTypes, origin.ConfigFilePath)); 194throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.CredentialsItemMustHaveUsernamePassword, origin.ConfigFilePath));
Settings\Items\FileClientCertItem.cs (4)
62throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, 70throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, 114throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.FileCertItemPasswordCannotBeDecrypted, PackageSource), e); 166throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture,
Settings\Items\OwnersItem.cs (1)
46throw new NuGetConfigurationException(
Settings\Items\PackageSourceMappingSourceItem.cs (1)
85throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_ItemNeedsAtLeastOnePackagePatternWithPath, Key, origin.ConfigFilePath));
Settings\Items\RepositoryItem.cs (1)
73throw new NuGetConfigurationException(
Settings\Items\StoreClientCertItem.cs (1)
246throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture,
Settings\Items\TrustedSignerItem.cs (2)
63throw new NuGetConfigurationException( 77throw new NuGetConfigurationException(
Settings\NuGetConfiguration.cs (1)
67throw new NuGetConfigurationException(
Settings\SettingElement.cs (5)
240throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, 249throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, 263throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, 277throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, 291throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile,
Settings\SettingFactory.cs (1)
180throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.Error_DuplicatePackageSource, duplicatedKey, source));
Settings\SettingItem.cs (1)
33throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.ShowError_CannotHaveChildren, element.Name.LocalName, origin.ConfigFilePath));
Settings\Settings.cs (1)
770throw new NuGetConfigurationException(
Settings\SettingsFile.cs (4)
220throw new NuGetConfigurationException( 226throw new NuGetConfigurationException( 232throw new NuGetConfigurationException( 238throw new NuGetConfigurationException(
Settings\SettingText.cs (1)
78throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, Resources.UserSettings_UnableToParseConfigFile, Resources.TextShouldNotBeEmpty, origin.ConfigFilePath));
Utility\SettingsUtility.cs (1)
459throw new NuGetConfigurationException(message);