1
- From a25eb78bab34afc8a6ff082bebec9b8ca33a9f17 Mon Sep 17 00:00:00 2001
1
+ From e0d440befafc6822a8807fa34a0a038e0456599e Mon Sep 17 00:00:00 2001
2
2
From: Tom Deseyn <
[email protected] >
3
3
Date: Thu, 26 Nov 2020 08:26:13 +0100
4
4
Subject: [PATCH] nuget.client: build for .NET 5
5
5
6
+ Update netcoreapp TFMs to 5.0.
7
+
8
+ Fix package references to comply with PackageVersions.props overrides.
6
9
---
7
10
build/common.project.props | 5 ++---
8
- build/packages.targets | 4 ++--
11
+ build/packages.targets | 8 +++--- --
9
12
src/NuGet.Core/NuGet.Frameworks/NuGet.Frameworks.csproj | 2 +-
10
- 3 files changed, 5 insertions(+), 6 deletions(-)
13
+ 3 files changed, 6 insertions(+), 9 deletions(-)
11
14
12
15
diff --git a/build/common.project.props b/build/common.project.props
13
16
index 03c93ae65..f578a2271 100644
@@ -33,24 +36,28 @@ index 03c93ae65..f578a2271 100644
33
36
<RepositoryRootDirectory>$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory), 'README.md'))\</RepositoryRootDirectory>
34
37
<BuildCommonDirectory>$(RepositoryRootDirectory)build\</BuildCommonDirectory>
35
38
diff --git a/build/packages.targets b/build/packages.targets
36
- index 873850ccb..baa369e09 100644
39
+ index 6ea9510dc..19df3657c 100644
37
40
--- a/build/packages.targets
38
41
+++ b/build/packages.targets
39
- @@ -8,7 +8,7 @@
42
+ @@ -7,8 +7,6 @@
43
+ <VSFrameworkVersion>16.6.30107.105</VSFrameworkVersion>
40
44
<VSServicesVersion>16.153.0</VSServicesVersion>
41
45
<VSThreadingVersion>16.7.56</VSThreadingVersion>
42
- <!-- TODO - remove this when temporary patching is no longer necessary. See https://github.com/nuget/home/issues/8952 -->
46
+ - <!-- TODO - remove this when temporary patching is no longer necessary. See https://github.com/nuget/home/issues/8952 -->
43
47
- <PatchedSystemPackagesVersion>5.0.0-preview.3.20214.6</PatchedSystemPackagesVersion>
44
- + <PatchedSystemPackagesVersion>5.0.0</PatchedSystemPackagesVersion>
45
48
</PropertyGroup>
46
49
47
50
<!-- Test and package versions -->
48
- @@ -66,7 +66,7 @@
51
+ @@ -64,9 +62,9 @@
52
+ <PackageReference Update="Newtonsoft.Json" Version="$(NewtonsoftJsonPackageVersion)" />
53
+ <PackageReference Update="System.Collections.Immutable" Version="1.7.1" />
49
54
<PackageReference Update="System.Diagnostics.Debug" Version="$(SystemPackagesVersion)" />
50
- <PackageReference Update="System.Security.Cryptography.Pkcs" Version="$(PatchedSystemPackagesVersion)" />
51
- <PackageReference Update="System.Security.Cryptography.Cng" Version="$(PatchedSystemPackagesVersion)" />
55
+ - <PackageReference Update="System.Security.Cryptography.Pkcs" Version="$(PatchedSystemPackagesVersion)" />
56
+ - <PackageReference Update="System.Security.Cryptography.Cng" Version="$(PatchedSystemPackagesVersion)" />
52
57
- <PackageReference Update="System.Security.Cryptography.ProtectedData" Version="4.4.0" />
53
- + <PackageReference Update="System.Security.Cryptography.ProtectedData" Version="$(PatchedSystemPackagesVersion)" />
58
+ + <PackageReference Update="System.Security.Cryptography.Pkcs" Version="$(SystemSecurityCryptographyPkcsVersion)" />
59
+ + <PackageReference Update="System.Security.Cryptography.Cng" Version="$(SystemSecurityCryptographyCngVersion)" />
60
+ + <PackageReference Update="System.Security.Cryptography.ProtectedData" Version="$(SystemSecurityCryptographyProtectedDataVersion)" />
54
61
<PackageReference Update="System.Threading.Tasks.Dataflow" Version="4.9.0" />
55
62
<PackageReference Update="VSLangProj" Version="7.0.3300" />
56
63
<PackageReference Update="VSLangProj110" Version="11.0.61030" />
@@ -68,5 +75,5 @@ index 4f3ac234c..1ad241531 100644
68
75
<TargetFramework />
69
76
<NoWarn>$(NoWarn);CS1591;CS1574;CS1573</NoWarn>
70
77
- -
71
- 2.26.2
78
+ 2.25.4
72
79
0 commit comments