From 73dfc827b2fd36ec8d55a08301f87e2ab4700b11 Mon Sep 17 00:00:00 2001 From: TheCakeIsNaOH Date: Thu, 16 Jun 2022 13:32:14 -0500 Subject: [PATCH] (#508) Rip out NuGet.Core Remove NuGet.Core dll and project references to it. --- src/chocolatey.console/chocolatey.console.csproj | 4 ---- .../chocolatey.tests.integration.csproj | 4 ---- .../scenarios/InstallScenarios.cs | 1 - src/chocolatey.tests.integration/scenarios/ListScenarios.cs | 1 - src/chocolatey.tests.integration/scenarios/PinScenarios.cs | 1 - .../scenarios/UninstallScenarios.cs | 1 - .../scenarios/UpgradeScenarios.cs | 1 - src/chocolatey.tests/chocolatey.tests.csproj | 4 ---- .../infrastructure.app/commands/ChocolateyPinCommandSpecs.cs | 1 - .../infrastructure.app/nuget/NugetCommonSpecs.cs | 1 - .../services/AutomaticUninstallerServiceSpecs.cs | 1 - .../services/ChocolateyPackageServiceSpecs.cs | 1 - .../infrastructure.app/services/NugetServiceSpecs.cs | 1 - src/chocolatey/chocolatey.csproj | 4 ---- .../infrastructure.app/commands/ChocolateyPinCommand.cs | 1 - .../infrastructure.app/domain/ChocolateyPackageInformation.cs | 1 - .../nuget/ChocolateyClientCertificateProvider.cs | 1 - .../nuget/ChocolateyLocalPackageRepository.cs | 1 - .../nuget/ChocolateyNugetCredentialProvider.cs | 1 - .../infrastructure.app/nuget/ChocolateyNugetLogger.cs | 1 - .../infrastructure.app/nuget/ChocolateyPackagePathResolver.cs | 1 - .../infrastructure.app/nuget/ChocolateyPhysicalFileSystem.cs | 1 - .../infrastructure.app/nuget/DictionaryPropertyProvider.cs | 1 - .../infrastructure.app/nuget/NuGetFileSystemExtensions.cs | 1 - src/chocolatey/infrastructure.app/nuget/NugetCommon.cs | 1 - src/chocolatey/infrastructure.app/nuget/NugetList.cs | 2 -- src/chocolatey/infrastructure.app/nuget/NugetPack.cs | 1 - src/chocolatey/infrastructure.app/nuget/NugetPush.cs | 1 - .../registration/ChocolateyRegistrationModule.cs | 1 - .../infrastructure.app/registration/ContainerBinding.cs | 1 - .../registration/SimpleInjectorContainerRegistrator.cs | 1 - .../services/ChocolateyPackageInformationService.cs | 1 - .../infrastructure.app/services/ChocolateyPackageService.cs | 1 - .../services/IChocolateyPackageInformationService.cs | 1 - .../infrastructure.app/services/IPowershellService.cs | 1 - src/chocolatey/infrastructure.app/services/NugetService.cs | 1 - .../infrastructure.app/services/PowershellService.cs | 1 - src/chocolatey/infrastructure.app/services/TemplateService.cs | 1 - src/chocolatey/infrastructure/results/PackageResult.cs | 1 - 39 files changed, 52 deletions(-) diff --git a/src/chocolatey.console/chocolatey.console.csproj b/src/chocolatey.console/chocolatey.console.csproj index fcefdcc500..247276ade9 100644 --- a/src/chocolatey.console/chocolatey.console.csproj +++ b/src/chocolatey.console/chocolatey.console.csproj @@ -157,10 +157,6 @@ ..\packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll - - False - ..\..\lib\Chocolatey-NuGet.Core.2.11.0.20220901\lib\net4\NuGet.Core.dll - ..\packages\SimpleInjector.2.8.3\lib\net45\SimpleInjector.dll diff --git a/src/chocolatey.tests.integration/chocolatey.tests.integration.csproj b/src/chocolatey.tests.integration/chocolatey.tests.integration.csproj index a5de55ec70..f22e508f28 100644 --- a/src/chocolatey.tests.integration/chocolatey.tests.integration.csproj +++ b/src/chocolatey.tests.integration/chocolatey.tests.integration.csproj @@ -74,10 +74,6 @@ ..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll - - False - ..\..\lib\Chocolatey-NuGet.Core.2.11.0.20220901\lib\net4\NuGet.Core.dll - False ..\packages\NUnit.2.6.4\lib\nunit.framework.dll diff --git a/src/chocolatey.tests.integration/scenarios/InstallScenarios.cs b/src/chocolatey.tests.integration/scenarios/InstallScenarios.cs index f718a8073e..b0ffb1d023 100644 --- a/src/chocolatey.tests.integration/scenarios/InstallScenarios.cs +++ b/src/chocolatey.tests.integration/scenarios/InstallScenarios.cs @@ -26,7 +26,6 @@ namespace chocolatey.tests.integration.scenarios using chocolatey.infrastructure.app.services; using chocolatey.infrastructure.commands; using chocolatey.infrastructure.results; - using NuGet; using NUnit.Framework; using Should; using IFileSystem = chocolatey.infrastructure.filesystem.IFileSystem; diff --git a/src/chocolatey.tests.integration/scenarios/ListScenarios.cs b/src/chocolatey.tests.integration/scenarios/ListScenarios.cs index 0604e8ba3a..5dcb4320cf 100644 --- a/src/chocolatey.tests.integration/scenarios/ListScenarios.cs +++ b/src/chocolatey.tests.integration/scenarios/ListScenarios.cs @@ -23,7 +23,6 @@ namespace chocolatey.tests.integration.scenarios using chocolatey.infrastructure.app.configuration; using chocolatey.infrastructure.app.services; using chocolatey.infrastructure.results; - using NuGet; using NUnit.Framework; using Should; diff --git a/src/chocolatey.tests.integration/scenarios/PinScenarios.cs b/src/chocolatey.tests.integration/scenarios/PinScenarios.cs index 600dfd834a..833c99cf96 100644 --- a/src/chocolatey.tests.integration/scenarios/PinScenarios.cs +++ b/src/chocolatey.tests.integration/scenarios/PinScenarios.cs @@ -26,7 +26,6 @@ namespace chocolatey.tests.integration.scenarios using chocolatey.infrastructure.app.domain; using chocolatey.infrastructure.commands; using chocolatey.infrastructure.results; - using NuGet; using Should; public class PinScenarios diff --git a/src/chocolatey.tests.integration/scenarios/UninstallScenarios.cs b/src/chocolatey.tests.integration/scenarios/UninstallScenarios.cs index 4b9e4ff59a..f2daa097e9 100644 --- a/src/chocolatey.tests.integration/scenarios/UninstallScenarios.cs +++ b/src/chocolatey.tests.integration/scenarios/UninstallScenarios.cs @@ -26,7 +26,6 @@ namespace chocolatey.tests.integration.scenarios using chocolatey.infrastructure.commands; using chocolatey.infrastructure.filesystem; using chocolatey.infrastructure.results; - using NuGet; using NUnit.Framework; using Should; using IFileSystem = chocolatey.infrastructure.filesystem.IFileSystem; diff --git a/src/chocolatey.tests.integration/scenarios/UpgradeScenarios.cs b/src/chocolatey.tests.integration/scenarios/UpgradeScenarios.cs index 22de2fccaf..9c86f56c52 100644 --- a/src/chocolatey.tests.integration/scenarios/UpgradeScenarios.cs +++ b/src/chocolatey.tests.integration/scenarios/UpgradeScenarios.cs @@ -28,7 +28,6 @@ namespace chocolatey.tests.integration.scenarios using chocolatey.infrastructure.app.services; using chocolatey.infrastructure.filesystem; using chocolatey.infrastructure.results; - using NuGet; using NUnit.Framework; using Should; diff --git a/src/chocolatey.tests/chocolatey.tests.csproj b/src/chocolatey.tests/chocolatey.tests.csproj index f7b75e7237..8feed80f9d 100644 --- a/src/chocolatey.tests/chocolatey.tests.csproj +++ b/src/chocolatey.tests/chocolatey.tests.csproj @@ -73,10 +73,6 @@ ..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll - - False - ..\..\lib\Chocolatey-NuGet.Core.2.11.0.20220901\lib\net4\NuGet.Core.dll - False ..\packages\NUnit.2.6.4\lib\nunit.framework.dll diff --git a/src/chocolatey.tests/infrastructure.app/commands/ChocolateyPinCommandSpecs.cs b/src/chocolatey.tests/infrastructure.app/commands/ChocolateyPinCommandSpecs.cs index eb98379abc..a00f6ff90b 100644 --- a/src/chocolatey.tests/infrastructure.app/commands/ChocolateyPinCommandSpecs.cs +++ b/src/chocolatey.tests/infrastructure.app/commands/ChocolateyPinCommandSpecs.cs @@ -28,7 +28,6 @@ namespace chocolatey.tests.infrastructure.app.commands using chocolatey.infrastructure.commandline; using chocolatey.infrastructure.results; using Moq; - using NuGet; using Should; public class ChocolateyPinCommandSpecs diff --git a/src/chocolatey.tests/infrastructure.app/nuget/NugetCommonSpecs.cs b/src/chocolatey.tests/infrastructure.app/nuget/NugetCommonSpecs.cs index 03d31f27c2..d749d8ef39 100644 --- a/src/chocolatey.tests/infrastructure.app/nuget/NugetCommonSpecs.cs +++ b/src/chocolatey.tests/infrastructure.app/nuget/NugetCommonSpecs.cs @@ -21,7 +21,6 @@ namespace chocolatey.tests.infrastructure.app.nuget using chocolatey.infrastructure.app.configuration; using chocolatey.infrastructure.app.nuget; using Moq; - using NuGet; using Should; public class NugetCommonSpecs diff --git a/src/chocolatey.tests/infrastructure.app/services/AutomaticUninstallerServiceSpecs.cs b/src/chocolatey.tests/infrastructure.app/services/AutomaticUninstallerServiceSpecs.cs index 0b12f36c2c..38aeb2d3db 100644 --- a/src/chocolatey.tests/infrastructure.app/services/AutomaticUninstallerServiceSpecs.cs +++ b/src/chocolatey.tests/infrastructure.app/services/AutomaticUninstallerServiceSpecs.cs @@ -31,7 +31,6 @@ namespace chocolatey.tests.infrastructure.app.services using chocolatey.infrastructure.commands; using chocolatey.infrastructure.results; using Moq; - using NuGet; using IFileSystem = chocolatey.infrastructure.filesystem.IFileSystem; public class AutomaticUninstallerServiceSpecs diff --git a/src/chocolatey.tests/infrastructure.app/services/ChocolateyPackageServiceSpecs.cs b/src/chocolatey.tests/infrastructure.app/services/ChocolateyPackageServiceSpecs.cs index 43317e0198..3a5070d86b 100644 --- a/src/chocolatey.tests/infrastructure.app/services/ChocolateyPackageServiceSpecs.cs +++ b/src/chocolatey.tests/infrastructure.app/services/ChocolateyPackageServiceSpecs.cs @@ -26,7 +26,6 @@ using chocolatey.infrastructure.results; using chocolatey.infrastructure.services; using Moq; -using NuGet; using NUnit.Framework; using Should; using IFileSystem = chocolatey.infrastructure.filesystem.IFileSystem; diff --git a/src/chocolatey.tests/infrastructure.app/services/NugetServiceSpecs.cs b/src/chocolatey.tests/infrastructure.app/services/NugetServiceSpecs.cs index a68b6d17b2..b96acbb26f 100644 --- a/src/chocolatey.tests/infrastructure.app/services/NugetServiceSpecs.cs +++ b/src/chocolatey.tests/infrastructure.app/services/NugetServiceSpecs.cs @@ -24,7 +24,6 @@ namespace chocolatey.tests.infrastructure.app.services using chocolatey.infrastructure.app.domain; using chocolatey.infrastructure.app.services; using Moq; - using NuGet; using Should; using IFileSystem = chocolatey.infrastructure.filesystem.IFileSystem; diff --git a/src/chocolatey/chocolatey.csproj b/src/chocolatey/chocolatey.csproj index b144ed6976..ccb6abb4b3 100644 --- a/src/chocolatey/chocolatey.csproj +++ b/src/chocolatey/chocolatey.csproj @@ -92,10 +92,6 @@ False ..\packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll - - False - ..\..\lib\Chocolatey-NuGet.Core.2.11.0.20220901\lib\net4\NuGet.Core.dll - ..\..\lib\Rhino.Licensing.1.4.1\lib\net40\Rhino.Licensing.dll diff --git a/src/chocolatey/infrastructure.app/commands/ChocolateyPinCommand.cs b/src/chocolatey/infrastructure.app/commands/ChocolateyPinCommand.cs index 53851701a0..56c96e186e 100644 --- a/src/chocolatey/infrastructure.app/commands/ChocolateyPinCommand.cs +++ b/src/chocolatey/infrastructure.app/commands/ChocolateyPinCommand.cs @@ -19,7 +19,6 @@ namespace chocolatey.infrastructure.app.commands using System; using System.Collections.Generic; using System.Linq; - using NuGet; using attributes; using commandline; using configuration; diff --git a/src/chocolatey/infrastructure.app/domain/ChocolateyPackageInformation.cs b/src/chocolatey/infrastructure.app/domain/ChocolateyPackageInformation.cs index 9066d004a4..6795a16056 100644 --- a/src/chocolatey/infrastructure.app/domain/ChocolateyPackageInformation.cs +++ b/src/chocolatey/infrastructure.app/domain/ChocolateyPackageInformation.cs @@ -17,7 +17,6 @@ namespace chocolatey.infrastructure.app.domain { using System; - using NuGet; public sealed class ChocolateyPackageInformation { diff --git a/src/chocolatey/infrastructure.app/nuget/ChocolateyClientCertificateProvider.cs b/src/chocolatey/infrastructure.app/nuget/ChocolateyClientCertificateProvider.cs index 365a93ee52..8486a18b0d 100644 --- a/src/chocolatey/infrastructure.app/nuget/ChocolateyClientCertificateProvider.cs +++ b/src/chocolatey/infrastructure.app/nuget/ChocolateyClientCertificateProvider.cs @@ -17,7 +17,6 @@ namespace chocolatey.infrastructure.app.nuget { using configuration; - using NuGet; using System; using System.Linq; using System.Net; diff --git a/src/chocolatey/infrastructure.app/nuget/ChocolateyLocalPackageRepository.cs b/src/chocolatey/infrastructure.app/nuget/ChocolateyLocalPackageRepository.cs index 6525b1a091..d9e65dd7fb 100644 --- a/src/chocolatey/infrastructure.app/nuget/ChocolateyLocalPackageRepository.cs +++ b/src/chocolatey/infrastructure.app/nuget/ChocolateyLocalPackageRepository.cs @@ -22,7 +22,6 @@ namespace chocolatey.infrastructure.app.nuget using System.Linq; using System.Runtime.Versioning; using System.Threading; - using NuGet; // ReSharper disable InconsistentNaming diff --git a/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetCredentialProvider.cs b/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetCredentialProvider.cs index 610f680223..54efd9fe2c 100644 --- a/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetCredentialProvider.cs +++ b/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetCredentialProvider.cs @@ -21,7 +21,6 @@ namespace chocolatey.infrastructure.app.nuget using System.Net; using System.Text.RegularExpressions; using commandline; - using NuGet; using configuration; using logging; diff --git a/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetLogger.cs b/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetLogger.cs index fb2b125cf0..2ad906a47a 100644 --- a/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetLogger.cs +++ b/src/chocolatey/infrastructure.app/nuget/ChocolateyNugetLogger.cs @@ -17,7 +17,6 @@ namespace chocolatey.infrastructure.app.nuget { using logging; - using NuGet; // ReSharper disable InconsistentNaming diff --git a/src/chocolatey/infrastructure.app/nuget/ChocolateyPackagePathResolver.cs b/src/chocolatey/infrastructure.app/nuget/ChocolateyPackagePathResolver.cs index f612861b9e..0c8b96f3f2 100644 --- a/src/chocolatey/infrastructure.app/nuget/ChocolateyPackagePathResolver.cs +++ b/src/chocolatey/infrastructure.app/nuget/ChocolateyPackagePathResolver.cs @@ -18,7 +18,6 @@ namespace chocolatey.infrastructure.app.nuget { using System; using System.IO; - using NuGet; // ReSharper disable InconsistentNaming diff --git a/src/chocolatey/infrastructure.app/nuget/ChocolateyPhysicalFileSystem.cs b/src/chocolatey/infrastructure.app/nuget/ChocolateyPhysicalFileSystem.cs index 866462ebae..a68d97d20a 100644 --- a/src/chocolatey/infrastructure.app/nuget/ChocolateyPhysicalFileSystem.cs +++ b/src/chocolatey/infrastructure.app/nuget/ChocolateyPhysicalFileSystem.cs @@ -17,7 +17,6 @@ namespace chocolatey.infrastructure.app.nuget { using System.Collections.Generic; - using NuGet; // ReSharper disable InconsistentNaming diff --git a/src/chocolatey/infrastructure.app/nuget/DictionaryPropertyProvider.cs b/src/chocolatey/infrastructure.app/nuget/DictionaryPropertyProvider.cs index 02a06a0b89..38070d7dc6 100644 --- a/src/chocolatey/infrastructure.app/nuget/DictionaryPropertyProvider.cs +++ b/src/chocolatey/infrastructure.app/nuget/DictionaryPropertyProvider.cs @@ -17,7 +17,6 @@ namespace chocolatey.infrastructure.app.nuget { using System.Collections.Generic; - using NuGet; // ReSharper disable InconsistentNaming diff --git a/src/chocolatey/infrastructure.app/nuget/NuGetFileSystemExtensions.cs b/src/chocolatey/infrastructure.app/nuget/NuGetFileSystemExtensions.cs index 41923eb668..e6811f9807 100644 --- a/src/chocolatey/infrastructure.app/nuget/NuGetFileSystemExtensions.cs +++ b/src/chocolatey/infrastructure.app/nuget/NuGetFileSystemExtensions.cs @@ -19,7 +19,6 @@ namespace chocolatey.infrastructure.app.nuget using System; using System.Collections.Generic; using System.IO; - using NuGet; // ReSharper disable InconsistentNaming diff --git a/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs b/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs index 169265df00..48606ef73c 100644 --- a/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs +++ b/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs @@ -24,7 +24,6 @@ namespace chocolatey.infrastructure.app.nuget using System.Text; using adapters; using infrastructure.configuration; - using NuGet; using configuration; using logging; using Console = adapters.Console; diff --git a/src/chocolatey/infrastructure.app/nuget/NugetList.cs b/src/chocolatey/infrastructure.app/nuget/NugetList.cs index ee55cc7b1b..12d8e9aa75 100644 --- a/src/chocolatey/infrastructure.app/nuget/NugetList.cs +++ b/src/chocolatey/infrastructure.app/nuget/NugetList.cs @@ -20,8 +20,6 @@ namespace chocolatey.infrastructure.app.nuget using System.Collections.Generic; using System.Globalization; using System.Linq; - - using NuGet; using configuration; // ReSharper disable InconsistentNaming diff --git a/src/chocolatey/infrastructure.app/nuget/NugetPack.cs b/src/chocolatey/infrastructure.app/nuget/NugetPack.cs index 71a5c5bfae..fa2ef76e54 100644 --- a/src/chocolatey/infrastructure.app/nuget/NugetPack.cs +++ b/src/chocolatey/infrastructure.app/nuget/NugetPack.cs @@ -20,7 +20,6 @@ namespace chocolatey.infrastructure.app.nuget using System.Collections.Generic; using System.IO; using System.Linq; - using NuGet; using IFileSystem = filesystem.IFileSystem; using chocolatey.infrastructure.platforms; diff --git a/src/chocolatey/infrastructure.app/nuget/NugetPush.cs b/src/chocolatey/infrastructure.app/nuget/NugetPush.cs index bee8cd6f4d..7a00d3f02f 100644 --- a/src/chocolatey/infrastructure.app/nuget/NugetPush.cs +++ b/src/chocolatey/infrastructure.app/nuget/NugetPush.cs @@ -18,7 +18,6 @@ namespace chocolatey.infrastructure.app.nuget { using System; using System.IO; - using NuGet; using configuration; using logging; diff --git a/src/chocolatey/infrastructure.app/registration/ChocolateyRegistrationModule.cs b/src/chocolatey/infrastructure.app/registration/ChocolateyRegistrationModule.cs index 8436e7e31f..1af322fc2d 100644 --- a/src/chocolatey/infrastructure.app/registration/ChocolateyRegistrationModule.cs +++ b/src/chocolatey/infrastructure.app/registration/ChocolateyRegistrationModule.cs @@ -26,7 +26,6 @@ namespace chocolatey.infrastructure.app.registration using chocolatey.infrastructure.services; using chocolatey.infrastructure.tasks; using chocolatey.infrastructure.validations; - using NuGet; using CryptoHashProvider = cryptography.CryptoHashProvider; using IFileSystem = filesystem.IFileSystem; using IHashProvider = cryptography.IHashProvider; diff --git a/src/chocolatey/infrastructure.app/registration/ContainerBinding.cs b/src/chocolatey/infrastructure.app/registration/ContainerBinding.cs index b9396e5e40..c3e0344127 100644 --- a/src/chocolatey/infrastructure.app/registration/ContainerBinding.cs +++ b/src/chocolatey/infrastructure.app/registration/ContainerBinding.cs @@ -28,7 +28,6 @@ namespace chocolatey.infrastructure.app.registration using chocolatey.infrastructure.logging; using chocolatey.infrastructure.services; using infrastructure.configuration; - using NuGet; using SimpleInjector; using Assembly = adapters.Assembly; diff --git a/src/chocolatey/infrastructure.app/registration/SimpleInjectorContainerRegistrator.cs b/src/chocolatey/infrastructure.app/registration/SimpleInjectorContainerRegistrator.cs index cd83cea5fa..50badf178b 100644 --- a/src/chocolatey/infrastructure.app/registration/SimpleInjectorContainerRegistrator.cs +++ b/src/chocolatey/infrastructure.app/registration/SimpleInjectorContainerRegistrator.cs @@ -26,7 +26,6 @@ namespace chocolatey.infrastructure.app.registration using infrastructure.commands; using infrastructure.events; using infrastructure.services; - using NuGet; using SimpleInjector; using Assembly = adapters.Assembly; diff --git a/src/chocolatey/infrastructure.app/services/ChocolateyPackageInformationService.cs b/src/chocolatey/infrastructure.app/services/ChocolateyPackageInformationService.cs index 9971e24fea..c297e35caf 100644 --- a/src/chocolatey/infrastructure.app/services/ChocolateyPackageInformationService.cs +++ b/src/chocolatey/infrastructure.app/services/ChocolateyPackageInformationService.cs @@ -21,7 +21,6 @@ namespace chocolatey.infrastructure.app.services using System.IO; using System.Text; using configuration; - using NuGet; using domain; using infrastructure.configuration; using tolerance; diff --git a/src/chocolatey/infrastructure.app/services/ChocolateyPackageService.cs b/src/chocolatey/infrastructure.app/services/ChocolateyPackageService.cs index 09ae129488..a969ac5fa3 100644 --- a/src/chocolatey/infrastructure.app/services/ChocolateyPackageService.cs +++ b/src/chocolatey/infrastructure.app/services/ChocolateyPackageService.cs @@ -31,7 +31,6 @@ namespace chocolatey.infrastructure.app.services using infrastructure.services; using logging; using nuget; - using NuGet; using platforms; using results; using tolerance; diff --git a/src/chocolatey/infrastructure.app/services/IChocolateyPackageInformationService.cs b/src/chocolatey/infrastructure.app/services/IChocolateyPackageInformationService.cs index d09004e9f6..5c5b1c65f9 100644 --- a/src/chocolatey/infrastructure.app/services/IChocolateyPackageInformationService.cs +++ b/src/chocolatey/infrastructure.app/services/IChocolateyPackageInformationService.cs @@ -17,7 +17,6 @@ namespace chocolatey.infrastructure.app.services { using domain; - using NuGet; public interface IChocolateyPackageInformationService { diff --git a/src/chocolatey/infrastructure.app/services/IPowershellService.cs b/src/chocolatey/infrastructure.app/services/IPowershellService.cs index 097cb278e0..0b21ed3270 100644 --- a/src/chocolatey/infrastructure.app/services/IPowershellService.cs +++ b/src/chocolatey/infrastructure.app/services/IPowershellService.cs @@ -20,7 +20,6 @@ namespace chocolatey.infrastructure.app.services using System.Collections.Generic; using System.Management.Automation.Runspaces; using configuration; - using NuGet; using results; public interface IPowershellService diff --git a/src/chocolatey/infrastructure.app/services/NugetService.cs b/src/chocolatey/infrastructure.app/services/NugetService.cs index 651cd84e68..e909d46e2b 100644 --- a/src/chocolatey/infrastructure.app/services/NugetService.cs +++ b/src/chocolatey/infrastructure.app/services/NugetService.cs @@ -30,7 +30,6 @@ namespace chocolatey.infrastructure.app.services using guards; using logging; using nuget; - using NuGet; using platforms; using results; using tolerance; diff --git a/src/chocolatey/infrastructure.app/services/PowershellService.cs b/src/chocolatey/infrastructure.app/services/PowershellService.cs index 6f1be64f55..2b274aba18 100644 --- a/src/chocolatey/infrastructure.app/services/PowershellService.cs +++ b/src/chocolatey/infrastructure.app/services/PowershellService.cs @@ -31,7 +31,6 @@ namespace chocolatey.infrastructure.app.services using infrastructure.commands; using infrastructure.registration; using logging; - using NuGet; using powershell; using results; using utility; diff --git a/src/chocolatey/infrastructure.app/services/TemplateService.cs b/src/chocolatey/infrastructure.app/services/TemplateService.cs index 9e6d2355d2..cac651efe6 100644 --- a/src/chocolatey/infrastructure.app/services/TemplateService.cs +++ b/src/chocolatey/infrastructure.app/services/TemplateService.cs @@ -27,7 +27,6 @@ namespace chocolatey.infrastructure.app.services using logging; using templates; using tokens; - using NuGet; using nuget; using IFileSystem = filesystem.IFileSystem; diff --git a/src/chocolatey/infrastructure/results/PackageResult.cs b/src/chocolatey/infrastructure/results/PackageResult.cs index 7c7066c037..2743e3ab44 100644 --- a/src/chocolatey/infrastructure/results/PackageResult.cs +++ b/src/chocolatey/infrastructure/results/PackageResult.cs @@ -19,7 +19,6 @@ namespace chocolatey.infrastructure.results using System; using System.Collections.Generic; using System.Linq; - using NuGet; /// /// Outcome of package installation