From 291d0b3ec29f6943d2938e7ed67cb1778c8084e7 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Mon, 15 Jun 2020 21:13:56 +0300 Subject: [PATCH 1/7] Remove unnecessary NuGet package references. --- .../NuGet.CommandLine.XPlat.csproj | 1 - src/NuGet.Core/NuGet.Common/NuGet.Common.csproj | 5 ----- .../NuGet.Credentials/NuGet.Credentials.csproj | 1 - src/NuGet.Core/NuGet.Packaging/NuGet.Packaging.csproj | 9 +-------- .../NuGet.ProjectModel/NuGet.ProjectModel.csproj | 7 +------ src/NuGet.Core/NuGet.Protocol/NuGet.Protocol.csproj | 8 ++------ .../NuGet.Build.Tasks.Pack.Test.csproj | 3 +-- .../NuGet.Build.Tasks.Test/NuGet.Build.Tasks.Test.csproj | 3 +-- .../NuGet.Commands.Test/NuGet.Commands.Test.csproj | 8 ++------ .../NuGet.Common.Test/NuGet.Common.Test.csproj | 6 ------ .../NuGet.Configuration.Test.csproj | 2 -- .../NuGet.Frameworks.Test/NuGet.Frameworks.Test.csproj | 4 ---- .../NuGet.Packaging.Test/NuGet.Packaging.Test.csproj | 4 ---- .../NuGet.Protocol.Tests/NuGet.Protocol.Tests.csproj | 8 ++------ test/TestUtilities/Test.Utility/Test.Utility.csproj | 2 -- 15 files changed, 10 insertions(+), 61 deletions(-) diff --git a/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj b/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj index 15dd5fd29f3..87825fa0cd6 100644 --- a/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj +++ b/src/NuGet.Core/NuGet.CommandLine.XPlat/NuGet.CommandLine.XPlat.csproj @@ -23,7 +23,6 @@ - - - - - True @@ -95,7 +88,7 @@ NuGetResources.Designer.cs - + diff --git a/src/NuGet.Core/NuGet.ProjectModel/NuGet.ProjectModel.csproj b/src/NuGet.Core/NuGet.ProjectModel/NuGet.ProjectModel.csproj index d452115ccca..1afe8e4f5c8 100644 --- a/src/NuGet.Core/NuGet.ProjectModel/NuGet.ProjectModel.csproj +++ b/src/NuGet.Core/NuGet.ProjectModel/NuGet.ProjectModel.csproj @@ -26,11 +26,6 @@ - - - - - True @@ -38,7 +33,7 @@ Strings.resx - + ResXFileCodeGenerator diff --git a/src/NuGet.Core/NuGet.Protocol/NuGet.Protocol.csproj b/src/NuGet.Core/NuGet.Protocol/NuGet.Protocol.csproj index c3d3c399b4e..0d3f1847b44 100644 --- a/src/NuGet.Core/NuGet.Protocol/NuGet.Protocol.csproj +++ b/src/NuGet.Core/NuGet.Protocol/NuGet.Protocol.csproj @@ -34,7 +34,7 @@ Strings.resx - + ResXFileCodeGenerator @@ -50,10 +50,6 @@ - - - - - \ No newline at end of file + diff --git a/test/NuGet.Core.Tests/NuGet.Build.Tasks.Pack.Test/NuGet.Build.Tasks.Pack.Test.csproj b/test/NuGet.Core.Tests/NuGet.Build.Tasks.Pack.Test/NuGet.Build.Tasks.Pack.Test.csproj index a28aff0edc3..9f08a0d33f7 100644 --- a/test/NuGet.Core.Tests/NuGet.Build.Tasks.Pack.Test/NuGet.Build.Tasks.Pack.Test.csproj +++ b/test/NuGet.Core.Tests/NuGet.Build.Tasks.Pack.Test/NuGet.Build.Tasks.Pack.Test.csproj @@ -5,7 +5,7 @@ - + $(TargetFrameworksExe) $(NETCoreTargetFrameworks) @@ -25,7 +25,6 @@ - diff --git a/test/NuGet.Core.Tests/NuGet.Build.Tasks.Test/NuGet.Build.Tasks.Test.csproj b/test/NuGet.Core.Tests/NuGet.Build.Tasks.Test/NuGet.Build.Tasks.Test.csproj index 84f837c34e6..218c7fbe9e5 100644 --- a/test/NuGet.Core.Tests/NuGet.Build.Tasks.Test/NuGet.Build.Tasks.Test.csproj +++ b/test/NuGet.Core.Tests/NuGet.Build.Tasks.Test/NuGet.Build.Tasks.Test.csproj @@ -27,7 +27,6 @@ - @@ -55,7 +54,7 @@ TestStrings.Designer.cs - + diff --git a/test/NuGet.Core.Tests/NuGet.Commands.Test/NuGet.Commands.Test.csproj b/test/NuGet.Core.Tests/NuGet.Commands.Test/NuGet.Commands.Test.csproj index 3824242ea32..56891a9f8aa 100644 --- a/test/NuGet.Core.Tests/NuGet.Commands.Test/NuGet.Commands.Test.csproj +++ b/test/NuGet.Core.Tests/NuGet.Commands.Test/NuGet.Commands.Test.csproj @@ -1,4 +1,4 @@ - + true @@ -19,10 +19,6 @@ - - - - @@ -36,7 +32,7 @@ - + diff --git a/test/NuGet.Core.Tests/NuGet.Common.Test/NuGet.Common.Test.csproj b/test/NuGet.Core.Tests/NuGet.Common.Test/NuGet.Common.Test.csproj index d68ea671a90..408ba9f4538 100644 --- a/test/NuGet.Core.Tests/NuGet.Common.Test/NuGet.Common.Test.csproj +++ b/test/NuGet.Core.Tests/NuGet.Common.Test/NuGet.Common.Test.csproj @@ -18,12 +18,6 @@ - - - - - - diff --git a/test/NuGet.Core.Tests/NuGet.Configuration.Test/NuGet.Configuration.Test.csproj b/test/NuGet.Core.Tests/NuGet.Configuration.Test/NuGet.Configuration.Test.csproj index 5c31b9e81fa..da01be811dd 100644 --- a/test/NuGet.Core.Tests/NuGet.Configuration.Test/NuGet.Configuration.Test.csproj +++ b/test/NuGet.Core.Tests/NuGet.Configuration.Test/NuGet.Configuration.Test.csproj @@ -19,9 +19,7 @@ - - diff --git a/test/NuGet.Core.Tests/NuGet.Frameworks.Test/NuGet.Frameworks.Test.csproj b/test/NuGet.Core.Tests/NuGet.Frameworks.Test/NuGet.Frameworks.Test.csproj index c413deb77c6..5c23a9d63a0 100644 --- a/test/NuGet.Core.Tests/NuGet.Frameworks.Test/NuGet.Frameworks.Test.csproj +++ b/test/NuGet.Core.Tests/NuGet.Frameworks.Test/NuGet.Frameworks.Test.csproj @@ -18,10 +18,6 @@ - - - - diff --git a/test/NuGet.Core.Tests/NuGet.Packaging.Test/NuGet.Packaging.Test.csproj b/test/NuGet.Core.Tests/NuGet.Packaging.Test/NuGet.Packaging.Test.csproj index 20c8d1bcd69..6094f6870a1 100644 --- a/test/NuGet.Core.Tests/NuGet.Packaging.Test/NuGet.Packaging.Test.csproj +++ b/test/NuGet.Core.Tests/NuGet.Packaging.Test/NuGet.Packaging.Test.csproj @@ -19,10 +19,6 @@ - - - - diff --git a/test/NuGet.Core.Tests/NuGet.Protocol.Tests/NuGet.Protocol.Tests.csproj b/test/NuGet.Core.Tests/NuGet.Protocol.Tests/NuGet.Protocol.Tests.csproj index 55779753104..9b02e0cb552 100644 --- a/test/NuGet.Core.Tests/NuGet.Protocol.Tests/NuGet.Protocol.Tests.csproj +++ b/test/NuGet.Core.Tests/NuGet.Protocol.Tests/NuGet.Protocol.Tests.csproj @@ -29,19 +29,15 @@ - - - - - + - \ No newline at end of file + diff --git a/test/TestUtilities/Test.Utility/Test.Utility.csproj b/test/TestUtilities/Test.Utility/Test.Utility.csproj index 96ed273aa5a..74ab6763949 100644 --- a/test/TestUtilities/Test.Utility/Test.Utility.csproj +++ b/test/TestUtilities/Test.Utility/Test.Utility.csproj @@ -69,8 +69,6 @@ - - From de9bf341f5abb99e9704156228c42e7603d50f0c Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Tue, 30 Jun 2020 01:26:26 +0300 Subject: [PATCH 2/7] Update Newtonsoft.Json version and remove some more legacy package references. --- build/packages.targets | 9 +-------- .../NuGet.Core.FuncTest/NuGet.Core.FuncTest.csproj | 6 +----- 2 files changed, 2 insertions(+), 13 deletions(-) diff --git a/build/packages.targets b/build/packages.targets index a5fa8b5f612..eabf75597c6 100644 --- a/build/packages.targets +++ b/build/packages.targets @@ -1,7 +1,7 @@ 16.5.0-preview-19606-01 - 9.0.1 + 12.0.3 4.3.0 16.4.280 16.6.30107.105 @@ -66,15 +66,12 @@ - - - @@ -102,10 +99,6 @@ - - - - diff --git a/test/NuGet.Core.FuncTests/NuGet.Core.FuncTest/NuGet.Core.FuncTest.csproj b/test/NuGet.Core.FuncTests/NuGet.Core.FuncTest/NuGet.Core.FuncTest.csproj index 11066ddf6d2..f3c5721cdb7 100644 --- a/test/NuGet.Core.FuncTests/NuGet.Core.FuncTest/NuGet.Core.FuncTest.csproj +++ b/test/NuGet.Core.FuncTests/NuGet.Core.FuncTest/NuGet.Core.FuncTest.csproj @@ -1,4 +1,4 @@ - + true @@ -23,10 +23,6 @@ - - - - From a2ccd9d8c3dda05c2de840a038816d4286940cdd Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Tue, 30 Jun 2020 10:32:45 +0300 Subject: [PATCH 3/7] Revert to version 9.0.1 of Newtonsoft.Json and manually resolve package conflicts. --- build/packages.targets | 2 +- test/TestExtensions/TestablePlugin/TestablePlugin.csproj | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/build/packages.targets b/build/packages.targets index eabf75597c6..077aca93d26 100644 --- a/build/packages.targets +++ b/build/packages.targets @@ -1,7 +1,7 @@ 16.5.0-preview-19606-01 - 12.0.3 + 9.0.1 4.3.0 16.4.280 16.6.30107.105 diff --git a/test/TestExtensions/TestablePlugin/TestablePlugin.csproj b/test/TestExtensions/TestablePlugin/TestablePlugin.csproj index 1569a572872..3c4037cf4dd 100644 --- a/test/TestExtensions/TestablePlugin/TestablePlugin.csproj +++ b/test/TestExtensions/TestablePlugin/TestablePlugin.csproj @@ -21,6 +21,13 @@ + + + + + + + - \ No newline at end of file + From 69e471aa590b2488dffd9db6b52858bee2902d61 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Thu, 9 Jul 2020 19:34:36 +0300 Subject: [PATCH 4/7] Remove a redundant System.Runtime.Loader dependency. --- .../GenerateLicenseList/GenerateLicenseList.csproj | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/TestExtensions/GenerateLicenseList/GenerateLicenseList.csproj b/test/TestExtensions/GenerateLicenseList/GenerateLicenseList.csproj index 7867400015e..a51f11c5ea8 100644 --- a/test/TestExtensions/GenerateLicenseList/GenerateLicenseList.csproj +++ b/test/TestExtensions/GenerateLicenseList/GenerateLicenseList.csproj @@ -1,7 +1,7 @@  - + true Exe @@ -12,7 +12,6 @@ - @@ -24,4 +23,4 @@ - \ No newline at end of file + From 12fa032ba136e36cf797ebae17b3f65d0ca3aa53 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Sat, 11 Jul 2020 00:52:45 +0300 Subject: [PATCH 5/7] Being back two wrongfully deleted packages. Ignore the .idea and .ionide directories. --- .gitignore | 3 +++ src/NuGet.Core/NuGet.Packaging/NuGet.Packaging.csproj | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 5aa7a2e6758..3696dc742a6 100644 --- a/.gitignore +++ b/.gitignore @@ -197,3 +197,6 @@ launchSettings.json # include the test packages !test/EndToEnd/Packages/**/* !test/EndToEnd/ProjectTemplates/**/*.pfx + +.idea +.ionide diff --git a/src/NuGet.Core/NuGet.Packaging/NuGet.Packaging.csproj b/src/NuGet.Core/NuGet.Packaging/NuGet.Packaging.csproj index a02b72f739a..8528086633c 100644 --- a/src/NuGet.Core/NuGet.Packaging/NuGet.Packaging.csproj +++ b/src/NuGet.Core/NuGet.Packaging/NuGet.Packaging.csproj @@ -1,4 +1,4 @@ - + true @@ -47,6 +47,11 @@ + + + + + True From d16aad00a67447e5409cf61fe7a4ac66cfac2bd7 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Sat, 11 Jul 2020 20:39:22 +0300 Subject: [PATCH 6/7] Remove two more packages from build/packages.targets. --- build/packages.targets | 2 -- 1 file changed, 2 deletions(-) diff --git a/build/packages.targets b/build/packages.targets index 077aca93d26..c63dfaf1dbf 100644 --- a/build/packages.targets +++ b/build/packages.targets @@ -66,8 +66,6 @@ - - From 7825862c751b97833394c1ebcc142048888321a3 Mon Sep 17 00:00:00 2001 From: Theodore Tsirpanis Date: Mon, 13 Jul 2020 19:59:49 +0300 Subject: [PATCH 7/7] Use the SystemPackagesVersion property instead of hardcored package versions. --- .../TestablePlugin/TestablePlugin.csproj | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/TestExtensions/TestablePlugin/TestablePlugin.csproj b/test/TestExtensions/TestablePlugin/TestablePlugin.csproj index 3c4037cf4dd..b58ecc434c6 100644 --- a/test/TestExtensions/TestablePlugin/TestablePlugin.csproj +++ b/test/TestExtensions/TestablePlugin/TestablePlugin.csproj @@ -1,4 +1,4 @@ - + true @@ -22,10 +22,10 @@ - - - - + + + +