Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 115a4a3

Browse files
committed
Remove build warnings in cryptography libraries
System.Security.Cryptography.Primitives uses System.IO-4.0.10. The rest of the cryptography libraries seems to get an implicit reference to System.IO, but 4.0.0. A post-build analysis is not pleased by this state of affairs. So, for all libraries that currently package-to-package reference System.Security.Cryptography.Primitives; add a System.IO-4.0.10 reference.
1 parent a73b4d7 commit 115a4a3

File tree

12 files changed

+114
-168
lines changed

12 files changed

+114
-168
lines changed

src/System.Security.Cryptography.Algorithms/src/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"dependencies": {
33
"System.Diagnostics.Contracts": "4.0.0",
44
"System.Diagnostics.Debug": "4.0.10",
5+
"System.IO": "4.0.10",
56
"System.Resources.ResourceManager": "4.0.0",
67
"System.Runtime": "4.0.20",
78
"System.Runtime.InteropServices": "4.0.20",
@@ -10,4 +11,4 @@
1011
"frameworks": {
1112
"dnxcore50": {}
1213
}
13-
}
14+
}

src/System.Security.Cryptography.Algorithms/src/project.lock.json

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@
3333
"ref/dotnet/System.Globalization.dll": {}
3434
}
3535
},
36-
"System.IO/4.0.0": {
36+
"System.IO/4.0.10": {
3737
"dependencies": {
38-
"System.Runtime": "4.0.0",
38+
"System.Runtime": "4.0.20",
3939
"System.Text.Encoding": "4.0.0",
4040
"System.Threading.Tasks": "4.0.0"
4141
},
4242
"compile": {
4343
"ref/dotnet/System.IO.dll": {}
44+
},
45+
"runtime": {
46+
"lib/DNXCore50/System.IO.dll": {}
4447
}
4548
},
4649
"System.Private.Uri/4.0.0": {
@@ -258,19 +261,18 @@
258261
"ref/xamarinmac20/_._"
259262
]
260263
},
261-
"System.IO/4.0.0": {
262-
"sha512": "MoCHQ0u5n0OMwUS8OX4Gl48qKiQziSW5cXvt82d+MmAcsLq9OL90+ihnu/aJ1h6OOYcBswrZAEuApfZha9w2lg==",
264+
"System.IO/4.0.10": {
265+
"serviceable": true,
266+
"sha512": "kghf1CeYT+W2lw8a50/GxFz5HR9t6RkL4BvjxtTp1NxtEFWywnMA9W8FH/KYXiDNThcw9u/GOViDON4iJFGXIQ==",
263267
"files": [
264-
"License.rtf",
265-
"System.IO.4.0.0.nupkg",
266-
"System.IO.4.0.0.nupkg.sha512",
268+
"System.IO.4.0.10.nupkg",
269+
"System.IO.4.0.10.nupkg.sha512",
267270
"System.IO.nuspec",
271+
"lib/DNXCore50/System.IO.dll",
268272
"lib/MonoAndroid10/_._",
269273
"lib/MonoTouch10/_._",
270-
"lib/net45/_._",
271-
"lib/win8/_._",
272-
"lib/wp80/_._",
273-
"lib/wpa81/_._",
274+
"lib/net46/_._",
275+
"lib/netcore50/System.IO.dll",
274276
"lib/xamarinios10/_._",
275277
"lib/xamarinmac20/_._",
276278
"ref/dotnet/System.IO.dll",
@@ -286,23 +288,10 @@
286288
"ref/dotnet/zh-hant/System.IO.xml",
287289
"ref/MonoAndroid10/_._",
288290
"ref/MonoTouch10/_._",
289-
"ref/net45/_._",
290-
"ref/netcore50/System.IO.dll",
291-
"ref/netcore50/System.IO.xml",
292-
"ref/netcore50/de/System.IO.xml",
293-
"ref/netcore50/es/System.IO.xml",
294-
"ref/netcore50/fr/System.IO.xml",
295-
"ref/netcore50/it/System.IO.xml",
296-
"ref/netcore50/ja/System.IO.xml",
297-
"ref/netcore50/ko/System.IO.xml",
298-
"ref/netcore50/ru/System.IO.xml",
299-
"ref/netcore50/zh-hans/System.IO.xml",
300-
"ref/netcore50/zh-hant/System.IO.xml",
301-
"ref/win8/_._",
302-
"ref/wp80/_._",
303-
"ref/wpa81/_._",
291+
"ref/net46/_._",
304292
"ref/xamarinios10/_._",
305-
"ref/xamarinmac20/_._"
293+
"ref/xamarinmac20/_._",
294+
"runtimes/win8-aot/lib/netcore50/System.IO.dll"
306295
]
307296
},
308297
"System.Private.Uri/4.0.0": {
@@ -677,6 +666,7 @@
677666
"": [
678667
"System.Diagnostics.Contracts >= 4.0.0",
679668
"System.Diagnostics.Debug >= 4.0.10",
669+
"System.IO >= 4.0.10",
680670
"System.Resources.ResourceManager >= 4.0.0",
681671
"System.Runtime >= 4.0.20",
682672
"System.Runtime.InteropServices >= 4.0.20",

src/System.Security.Cryptography.Cng/src/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"dependencies": {
33
"System.Diagnostics.Contracts": "4.0.0",
44
"System.Diagnostics.Debug": "4.0.10",
5+
"System.IO": "4.0.10",
56
"System.Resources.ResourceManager": "4.0.0",
67
"System.Runtime": "4.0.20",
78
"System.Runtime.InteropServices": "4.0.20"
89
},
910
"frameworks": {
1011
"dnxcore50": {}
1112
}
12-
}
13+
}

src/System.Security.Cryptography.Cng/src/project.lock.json

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@
3333
"ref/dotnet/System.Globalization.dll": {}
3434
}
3535
},
36-
"System.IO/4.0.0": {
36+
"System.IO/4.0.10": {
3737
"dependencies": {
38-
"System.Runtime": "4.0.0",
38+
"System.Runtime": "4.0.20",
3939
"System.Text.Encoding": "4.0.0",
4040
"System.Threading.Tasks": "4.0.0"
4141
},
4242
"compile": {
4343
"ref/dotnet/System.IO.dll": {}
44+
},
45+
"runtime": {
46+
"lib/DNXCore50/System.IO.dll": {}
4447
}
4548
},
4649
"System.Private.Uri/4.0.0": {
@@ -249,19 +252,18 @@
249252
"ref/xamarinmac20/_._"
250253
]
251254
},
252-
"System.IO/4.0.0": {
253-
"sha512": "MoCHQ0u5n0OMwUS8OX4Gl48qKiQziSW5cXvt82d+MmAcsLq9OL90+ihnu/aJ1h6OOYcBswrZAEuApfZha9w2lg==",
255+
"System.IO/4.0.10": {
256+
"serviceable": true,
257+
"sha512": "kghf1CeYT+W2lw8a50/GxFz5HR9t6RkL4BvjxtTp1NxtEFWywnMA9W8FH/KYXiDNThcw9u/GOViDON4iJFGXIQ==",
254258
"files": [
255-
"License.rtf",
256-
"System.IO.4.0.0.nupkg",
257-
"System.IO.4.0.0.nupkg.sha512",
259+
"System.IO.4.0.10.nupkg",
260+
"System.IO.4.0.10.nupkg.sha512",
258261
"System.IO.nuspec",
262+
"lib/DNXCore50/System.IO.dll",
259263
"lib/MonoAndroid10/_._",
260264
"lib/MonoTouch10/_._",
261-
"lib/net45/_._",
262-
"lib/win8/_._",
263-
"lib/wp80/_._",
264-
"lib/wpa81/_._",
265+
"lib/net46/_._",
266+
"lib/netcore50/System.IO.dll",
265267
"lib/xamarinios10/_._",
266268
"lib/xamarinmac20/_._",
267269
"ref/dotnet/System.IO.dll",
@@ -277,23 +279,10 @@
277279
"ref/dotnet/zh-hant/System.IO.xml",
278280
"ref/MonoAndroid10/_._",
279281
"ref/MonoTouch10/_._",
280-
"ref/net45/_._",
281-
"ref/netcore50/System.IO.dll",
282-
"ref/netcore50/System.IO.xml",
283-
"ref/netcore50/de/System.IO.xml",
284-
"ref/netcore50/es/System.IO.xml",
285-
"ref/netcore50/fr/System.IO.xml",
286-
"ref/netcore50/it/System.IO.xml",
287-
"ref/netcore50/ja/System.IO.xml",
288-
"ref/netcore50/ko/System.IO.xml",
289-
"ref/netcore50/ru/System.IO.xml",
290-
"ref/netcore50/zh-hans/System.IO.xml",
291-
"ref/netcore50/zh-hant/System.IO.xml",
292-
"ref/win8/_._",
293-
"ref/wp80/_._",
294-
"ref/wpa81/_._",
282+
"ref/net46/_._",
295283
"ref/xamarinios10/_._",
296-
"ref/xamarinmac20/_._"
284+
"ref/xamarinmac20/_._",
285+
"runtimes/win8-aot/lib/netcore50/System.IO.dll"
297286
]
298287
},
299288
"System.Private.Uri/4.0.0": {
@@ -621,6 +610,7 @@
621610
"": [
622611
"System.Diagnostics.Contracts >= 4.0.0",
623612
"System.Diagnostics.Debug >= 4.0.10",
613+
"System.IO >= 4.0.10",
624614
"System.Resources.ResourceManager >= 4.0.0",
625615
"System.Runtime >= 4.0.20",
626616
"System.Runtime.InteropServices >= 4.0.20"

src/System.Security.Cryptography.Csp/src/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"dependencies": {
33
"System.Diagnostics.Contracts": "4.0.0",
44
"System.Diagnostics.Debug": "4.0.10",
5+
"System.IO": "4.0.10",
56
"System.Resources.ResourceManager": "4.0.0",
67
"System.Runtime": "4.0.20",
78
"System.Runtime.Extensions": "4.0.10",
@@ -11,4 +12,4 @@
1112
"frameworks": {
1213
"dnxcore50": {}
1314
}
14-
}
15+
}

src/System.Security.Cryptography.Csp/src/project.lock.json

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@
3333
"ref/dotnet/System.Globalization.dll": {}
3434
}
3535
},
36-
"System.IO/4.0.0": {
36+
"System.IO/4.0.10": {
3737
"dependencies": {
38-
"System.Runtime": "4.0.0",
38+
"System.Runtime": "4.0.20",
3939
"System.Text.Encoding": "4.0.0",
4040
"System.Threading.Tasks": "4.0.0"
4141
},
4242
"compile": {
4343
"ref/dotnet/System.IO.dll": {}
44+
},
45+
"runtime": {
46+
"lib/DNXCore50/System.IO.dll": {}
4447
}
4548
},
4649
"System.Private.Uri/4.0.0": {
@@ -272,19 +275,18 @@
272275
"ref/xamarinmac20/_._"
273276
]
274277
},
275-
"System.IO/4.0.0": {
276-
"sha512": "MoCHQ0u5n0OMwUS8OX4Gl48qKiQziSW5cXvt82d+MmAcsLq9OL90+ihnu/aJ1h6OOYcBswrZAEuApfZha9w2lg==",
278+
"System.IO/4.0.10": {
279+
"serviceable": true,
280+
"sha512": "kghf1CeYT+W2lw8a50/GxFz5HR9t6RkL4BvjxtTp1NxtEFWywnMA9W8FH/KYXiDNThcw9u/GOViDON4iJFGXIQ==",
277281
"files": [
278-
"License.rtf",
279-
"System.IO.4.0.0.nupkg",
280-
"System.IO.4.0.0.nupkg.sha512",
282+
"System.IO.4.0.10.nupkg",
283+
"System.IO.4.0.10.nupkg.sha512",
281284
"System.IO.nuspec",
285+
"lib/DNXCore50/System.IO.dll",
282286
"lib/MonoAndroid10/_._",
283287
"lib/MonoTouch10/_._",
284-
"lib/net45/_._",
285-
"lib/win8/_._",
286-
"lib/wp80/_._",
287-
"lib/wpa81/_._",
288+
"lib/net46/_._",
289+
"lib/netcore50/System.IO.dll",
288290
"lib/xamarinios10/_._",
289291
"lib/xamarinmac20/_._",
290292
"ref/dotnet/System.IO.dll",
@@ -300,23 +302,10 @@
300302
"ref/dotnet/zh-hant/System.IO.xml",
301303
"ref/MonoAndroid10/_._",
302304
"ref/MonoTouch10/_._",
303-
"ref/net45/_._",
304-
"ref/netcore50/System.IO.dll",
305-
"ref/netcore50/System.IO.xml",
306-
"ref/netcore50/de/System.IO.xml",
307-
"ref/netcore50/es/System.IO.xml",
308-
"ref/netcore50/fr/System.IO.xml",
309-
"ref/netcore50/it/System.IO.xml",
310-
"ref/netcore50/ja/System.IO.xml",
311-
"ref/netcore50/ko/System.IO.xml",
312-
"ref/netcore50/ru/System.IO.xml",
313-
"ref/netcore50/zh-hans/System.IO.xml",
314-
"ref/netcore50/zh-hant/System.IO.xml",
315-
"ref/win8/_._",
316-
"ref/wp80/_._",
317-
"ref/wpa81/_._",
305+
"ref/net46/_._",
318306
"ref/xamarinios10/_._",
319-
"ref/xamarinmac20/_._"
307+
"ref/xamarinmac20/_._",
308+
"runtimes/win8-aot/lib/netcore50/System.IO.dll"
320309
]
321310
},
322311
"System.Private.Uri/4.0.0": {
@@ -710,6 +699,7 @@
710699
"": [
711700
"System.Diagnostics.Contracts >= 4.0.0",
712701
"System.Diagnostics.Debug >= 4.0.10",
702+
"System.IO >= 4.0.10",
713703
"System.Resources.ResourceManager >= 4.0.0",
714704
"System.Runtime >= 4.0.20",
715705
"System.Runtime.Extensions >= 4.0.10",

src/System.Security.Cryptography.Encoding/src/project.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,12 @@
22
"dependencies": {
33
"System.Diagnostics.Contracts": "4.0.0",
44
"System.Diagnostics.Debug": "4.0.10",
5+
"System.IO": "4.0.10",
56
"System.Resources.ResourceManager": "4.0.0",
67
"System.Runtime": "4.0.20",
78
"System.Runtime.InteropServices": "4.0.20"
89
},
910
"frameworks": {
1011
"dnxcore50": {}
1112
}
12-
}
13+
}

src/System.Security.Cryptography.Encoding/src/project.lock.json

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,17 @@
3333
"ref/dotnet/System.Globalization.dll": {}
3434
}
3535
},
36-
"System.IO/4.0.0": {
36+
"System.IO/4.0.10": {
3737
"dependencies": {
38-
"System.Runtime": "4.0.0",
38+
"System.Runtime": "4.0.20",
3939
"System.Text.Encoding": "4.0.0",
4040
"System.Threading.Tasks": "4.0.0"
4141
},
4242
"compile": {
4343
"ref/dotnet/System.IO.dll": {}
44+
},
45+
"runtime": {
46+
"lib/DNXCore50/System.IO.dll": {}
4447
}
4548
},
4649
"System.Private.Uri/4.0.0": {
@@ -249,19 +252,18 @@
249252
"ref/xamarinmac20/_._"
250253
]
251254
},
252-
"System.IO/4.0.0": {
253-
"sha512": "MoCHQ0u5n0OMwUS8OX4Gl48qKiQziSW5cXvt82d+MmAcsLq9OL90+ihnu/aJ1h6OOYcBswrZAEuApfZha9w2lg==",
255+
"System.IO/4.0.10": {
256+
"serviceable": true,
257+
"sha512": "kghf1CeYT+W2lw8a50/GxFz5HR9t6RkL4BvjxtTp1NxtEFWywnMA9W8FH/KYXiDNThcw9u/GOViDON4iJFGXIQ==",
254258
"files": [
255-
"License.rtf",
256-
"System.IO.4.0.0.nupkg",
257-
"System.IO.4.0.0.nupkg.sha512",
259+
"System.IO.4.0.10.nupkg",
260+
"System.IO.4.0.10.nupkg.sha512",
258261
"System.IO.nuspec",
262+
"lib/DNXCore50/System.IO.dll",
259263
"lib/MonoAndroid10/_._",
260264
"lib/MonoTouch10/_._",
261-
"lib/net45/_._",
262-
"lib/win8/_._",
263-
"lib/wp80/_._",
264-
"lib/wpa81/_._",
265+
"lib/net46/_._",
266+
"lib/netcore50/System.IO.dll",
265267
"lib/xamarinios10/_._",
266268
"lib/xamarinmac20/_._",
267269
"ref/dotnet/System.IO.dll",
@@ -277,23 +279,10 @@
277279
"ref/dotnet/zh-hant/System.IO.xml",
278280
"ref/MonoAndroid10/_._",
279281
"ref/MonoTouch10/_._",
280-
"ref/net45/_._",
281-
"ref/netcore50/System.IO.dll",
282-
"ref/netcore50/System.IO.xml",
283-
"ref/netcore50/de/System.IO.xml",
284-
"ref/netcore50/es/System.IO.xml",
285-
"ref/netcore50/fr/System.IO.xml",
286-
"ref/netcore50/it/System.IO.xml",
287-
"ref/netcore50/ja/System.IO.xml",
288-
"ref/netcore50/ko/System.IO.xml",
289-
"ref/netcore50/ru/System.IO.xml",
290-
"ref/netcore50/zh-hans/System.IO.xml",
291-
"ref/netcore50/zh-hant/System.IO.xml",
292-
"ref/win8/_._",
293-
"ref/wp80/_._",
294-
"ref/wpa81/_._",
282+
"ref/net46/_._",
295283
"ref/xamarinios10/_._",
296-
"ref/xamarinmac20/_._"
284+
"ref/xamarinmac20/_._",
285+
"runtimes/win8-aot/lib/netcore50/System.IO.dll"
297286
]
298287
},
299288
"System.Private.Uri/4.0.0": {
@@ -621,6 +610,7 @@
621610
"": [
622611
"System.Diagnostics.Contracts >= 4.0.0",
623612
"System.Diagnostics.Debug >= 4.0.10",
613+
"System.IO >= 4.0.10",
624614
"System.Resources.ResourceManager >= 4.0.0",
625615
"System.Runtime >= 4.0.20",
626616
"System.Runtime.InteropServices >= 4.0.20"

0 commit comments

Comments
 (0)