Skip to content

Commit

Permalink
(#508) Rip out NuGet.Core
Browse files Browse the repository at this point in the history
Remove NuGet.Core dll and project references to it.
  • Loading branch information
TheCakeIsNaOH committed Nov 8, 2022
1 parent 7e23ae6 commit 73dfc82
Show file tree
Hide file tree
Showing 39 changed files with 0 additions and 52 deletions.
4 changes: 0 additions & 4 deletions src/chocolatey.console/chocolatey.console.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,6 @@
<Reference Include="Microsoft.Web.XmlTransform">
<HintPath>..\packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll</HintPath>
</Reference>
<Reference Include="NuGet.Core, Version=2.11.0.0, Culture=neutral, PublicKeyToken=fd112f53c3ab578c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\Chocolatey-NuGet.Core.2.11.0.20220901\lib\net4\NuGet.Core.dll</HintPath>
</Reference>
<Reference Include="SimpleInjector, Version=2.8.3.0, Culture=neutral, PublicKeyToken=984cb50dea722e99, processorArchitecture=MSIL">
<HintPath>..\packages\SimpleInjector.2.8.3\lib\net45\SimpleInjector.dll</HintPath>
</Reference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@
<Reference Include="Moq">
<HintPath>..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll</HintPath>
</Reference>
<Reference Include="NuGet.Core, Version=2.11.0.0, Culture=neutral, PublicKeyToken=fd112f53c3ab578c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\Chocolatey-NuGet.Core.2.11.0.20220901\lib\net4\NuGet.Core.dll</HintPath>
</Reference>
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion src/chocolatey.tests.integration/scenarios/PinScenarios.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 0 additions & 4 deletions src/chocolatey.tests/chocolatey.tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@
<Reference Include="Moq">
<HintPath>..\packages\Moq.4.2.1402.2112\lib\net40\Moq.dll</HintPath>
</Reference>
<Reference Include="NuGet.Core, Version=2.11.0.0, Culture=neutral, PublicKeyToken=fd112f53c3ab578c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\Chocolatey-NuGet.Core.2.11.0.20220901\lib\net4\NuGet.Core.dll</HintPath>
</Reference>
<Reference Include="nunit.framework, Version=2.6.4.14350, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
4 changes: 0 additions & 4 deletions src/chocolatey/chocolatey.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,6 @@
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Microsoft.Web.Xdt.2.1.1\lib\net40\Microsoft.Web.XmlTransform.dll</HintPath>
</Reference>
<Reference Include="NuGet.Core, Version=2.11.0.0, Culture=neutral, PublicKeyToken=fd112f53c3ab578c, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\lib\Chocolatey-NuGet.Core.2.11.0.20220901\lib\net4\NuGet.Core.dll</HintPath>
</Reference>
<Reference Include="Rhino.Licensing">
<HintPath>..\..\lib\Rhino.Licensing.1.4.1\lib\net40\Rhino.Licensing.dll</HintPath>
</Reference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
namespace chocolatey.infrastructure.app.domain
{
using System;
using NuGet;

public sealed class ChocolateyPackageInformation
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
namespace chocolatey.infrastructure.app.nuget
{
using configuration;
using NuGet;
using System;
using System.Linq;
using System.Net;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ namespace chocolatey.infrastructure.app.nuget
using System.Linq;
using System.Runtime.Versioning;
using System.Threading;
using NuGet;

// ReSharper disable InconsistentNaming

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ namespace chocolatey.infrastructure.app.nuget
using System.Net;
using System.Text.RegularExpressions;
using commandline;
using NuGet;
using configuration;
using logging;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
namespace chocolatey.infrastructure.app.nuget
{
using logging;
using NuGet;

// ReSharper disable InconsistentNaming

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ namespace chocolatey.infrastructure.app.nuget
{
using System;
using System.IO;
using NuGet;

// ReSharper disable InconsistentNaming

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
namespace chocolatey.infrastructure.app.nuget
{
using System.Collections.Generic;
using NuGet;

// ReSharper disable InconsistentNaming

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
namespace chocolatey.infrastructure.app.nuget
{
using System.Collections.Generic;
using NuGet;

// ReSharper disable InconsistentNaming

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ namespace chocolatey.infrastructure.app.nuget
using System;
using System.Collections.Generic;
using System.IO;
using NuGet;

// ReSharper disable InconsistentNaming

Expand Down
1 change: 0 additions & 1 deletion src/chocolatey/infrastructure.app/nuget/NugetCommon.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 0 additions & 2 deletions src/chocolatey/infrastructure.app/nuget/NugetList.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/chocolatey/infrastructure.app/nuget/NugetPack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
1 change: 0 additions & 1 deletion src/chocolatey/infrastructure.app/nuget/NugetPush.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ namespace chocolatey.infrastructure.app.nuget
{
using System;
using System.IO;
using NuGet;
using configuration;
using logging;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ namespace chocolatey.infrastructure.app.services
using infrastructure.services;
using logging;
using nuget;
using NuGet;
using platforms;
using results;
using tolerance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
namespace chocolatey.infrastructure.app.services
{
using domain;
using NuGet;

public interface IChocolateyPackageInformationService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/chocolatey/infrastructure.app/services/NugetService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ namespace chocolatey.infrastructure.app.services
using guards;
using logging;
using nuget;
using NuGet;
using platforms;
using results;
using tolerance;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ namespace chocolatey.infrastructure.app.services
using logging;
using templates;
using tokens;
using NuGet;
using nuget;
using IFileSystem = filesystem.IFileSystem;

Expand Down
1 change: 0 additions & 1 deletion src/chocolatey/infrastructure/results/PackageResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ namespace chocolatey.infrastructure.results
using System;
using System.Collections.Generic;
using System.Linq;
using NuGet;

/// <summary>
/// Outcome of package installation
Expand Down

0 comments on commit 73dfc82

Please sign in to comment.