26 references to NuGetConfigurationException
NuGet.Configuration (26)
ClientCertificate\ClientCertificateProvider.cs (1)
73throw new NuGetConfigurationException(message);
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 (3)
62throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, 70throw new NuGetConfigurationException(string.Format(CultureInfo.CurrentCulture, 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\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);