Skip to content

Commit bf2a166

Browse files
benaadamsclaude
andcommitted
Enable NuGet lock files for CI cache support
Add RestorePackagesWithLockFile to Directory.Build.props and commit generated packages.lock.json files so setup-dotnet cache: true works. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent aaaeee7 commit bf2a166

21 files changed

Lines changed: 2262 additions & 0 deletions

File tree

Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<PropertyGroup>
33
<Nullable>disable</Nullable>
44
<ImplicitUsings>disable</ImplicitUsings>
5+
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
56
</PropertyGroup>
67

78
<PropertyGroup Condition="'$(CI)' == 'true'">
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"version": 1,
3+
"dependencies": {
4+
"net10.0": {
5+
"BenchmarkDotNet": {
6+
"type": "Direct",
7+
"requested": "[0.10.14, )",
8+
"resolved": "0.10.14",
9+
"contentHash": "pPM8h3fv4NUg9P3Qh5ga+Klmvh3FpJ0tblBHwTcsh0XjSHvwGc4/vRJYM6ix06evf58NQcge5Cyv1PBY83ZCwg==",
10+
"dependencies": {
11+
"BenchmarkDotNet.Core": "0.10.14"
12+
}
13+
},
14+
"BenchmarkDotNet.Core": {
15+
"type": "Transitive",
16+
"resolved": "0.10.14",
17+
"contentHash": "f2B6ERn4sBCv4VVt699FYtfRfqX0NuMZoG1lXrzNkCKyPRjRWvreqqJ5aRTMf4PnosfUaylQezpi1yoITncCRQ==",
18+
"dependencies": {
19+
"Microsoft.DotNet.InternalAbstractions": "1.0.0",
20+
"Microsoft.DotNet.PlatformAbstractions": "1.1.1",
21+
"System.Xml.XPath.XmlDocument": "4.3.0"
22+
}
23+
},
24+
"Microsoft.DotNet.InternalAbstractions": {
25+
"type": "Transitive",
26+
"resolved": "1.0.0",
27+
"contentHash": "AAguUq7YyKk3yDWPoWA8DrLZvURxB/LrDdTn1h5lmPeznkFUpfC3p459w5mQYQE0qpquf/CkSQZ0etiV5vRHFA=="
28+
},
29+
"Microsoft.DotNet.PlatformAbstractions": {
30+
"type": "Transitive",
31+
"resolved": "1.1.1",
32+
"contentHash": "m+IIxUg8Ev+g34H7CIcuILm3ZWWJNclsgYqc/j5n/QCKhcvRAeAn0byDI7zCqlDUwn6byXYrJxuZpuZh/5C/6g=="
33+
},
34+
"System.Xml.XPath.XmlDocument": {
35+
"type": "Transitive",
36+
"resolved": "4.3.0",
37+
"contentHash": "A/uxsWi/Ifzkmd4ArTLISMbfFs6XpRPsXZonrIqyTY70xi8t+mDtvSM5Os0RqyRDobjMBwIDHDL4NOIbkDwf7A=="
38+
},
39+
"magma.common": {
40+
"type": "Project"
41+
}
42+
}
43+
}
44+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"version": 1,
3+
"dependencies": {
4+
"net10.0": {
5+
"Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions": {
6+
"type": "Transitive",
7+
"resolved": "2.1.0-rc1-final",
8+
"contentHash": "OJ53lhivBAjVmNMWiwB8hiXZ6IW8xKlhkWAG8gHTWruCaH4ofqIK1HjVcFgsf1Olu4/sc2jGGBmMWMSoTb5e1A=="
9+
},
10+
"magma.common": {
11+
"type": "Project"
12+
},
13+
"magma.internet.ip": {
14+
"type": "Project",
15+
"dependencies": {
16+
"Magma.Common": "[1.0.0, )"
17+
}
18+
},
19+
"magma.link": {
20+
"type": "Project"
21+
},
22+
"magma.netmap": {
23+
"type": "Project",
24+
"dependencies": {
25+
"Magma.Common": "[1.0.0, )",
26+
"Magma.Link": "[1.0.0, )",
27+
"Magma.Network.Abstractions": "[1.0.0, )",
28+
"Magma.PCap": "[1.0.0, )",
29+
"Magma.Transport.Tcp": "[1.0.0, )",
30+
"Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions": "[2.1.0-rc1-final, )"
31+
}
32+
},
33+
"magma.network.abstractions": {
34+
"type": "Project"
35+
},
36+
"magma.pcap": {
37+
"type": "Project"
38+
},
39+
"magma.transport.tcp": {
40+
"type": "Project",
41+
"dependencies": {
42+
"Magma.Common": "[1.0.0, )",
43+
"Magma.Internet.Ip": "[1.0.0, )",
44+
"Magma.Link": "[1.0.0, )",
45+
"Magma.Network.Abstractions": "[1.0.0, )",
46+
"Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions": "[2.1.0-rc1-final, )"
47+
}
48+
}
49+
}
50+
}
51+
}
Lines changed: 150 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
{
2+
"version": 1,
3+
"dependencies": {
4+
"net10.0": {
5+
"Microsoft.AspNetCore.Connections.Abstractions": {
6+
"type": "Transitive",
7+
"resolved": "2.1.0-rc1-final",
8+
"contentHash": "1eE+Hml8yITBaNO+5P2f5G8FIN/lX+FOfdw2SrgNLfSlg0inlmSKHqwDz6OzrsK2Pqu4RHWd/v9P6FLfLiaeQA==",
9+
"dependencies": {
10+
"Microsoft.AspNetCore.Http.Features": "2.1.0-rc1-final"
11+
}
12+
},
13+
"Microsoft.AspNetCore.Hosting.Abstractions": {
14+
"type": "Transitive",
15+
"resolved": "2.1.0-rc1-final",
16+
"contentHash": "ZS9+q2D4gDRy9egkX5iOAztWYtOcmMbuPpGh3Vh2ayDgZ0qnOF4n/BYN+kZgCWE+KtLeunAwmXspNj7aHXJYgw==",
17+
"dependencies": {
18+
"Microsoft.AspNetCore.Hosting.Server.Abstractions": "2.1.0-rc1-final",
19+
"Microsoft.AspNetCore.Http.Abstractions": "2.1.0-rc1-final",
20+
"Microsoft.Extensions.Hosting.Abstractions": "2.1.0-rc1-final"
21+
}
22+
},
23+
"Microsoft.AspNetCore.Hosting.Server.Abstractions": {
24+
"type": "Transitive",
25+
"resolved": "2.1.0-rc1-final",
26+
"contentHash": "9zEHPWJduVTLanNVRuptCB2zrhY1D7/n6vgdPypmRtq3eR51fgfYyDsalZXQeFNOsKdVaD4PuSEP3DiLed8bYg==",
27+
"dependencies": {
28+
"Microsoft.AspNetCore.Http.Features": "2.1.0-rc1-final",
29+
"Microsoft.Extensions.Configuration.Abstractions": "2.1.0-rc1-final"
30+
}
31+
},
32+
"Microsoft.AspNetCore.Http.Abstractions": {
33+
"type": "Transitive",
34+
"resolved": "2.1.0-rc1-final",
35+
"contentHash": "k8rteCcVexd8yh5DLi4Vo4UU3vyQpHP43d13jalWixImsHSgvDjkjuOUE8MK9oTlHd9utSsl8Vyeh1v2vABVvg==",
36+
"dependencies": {
37+
"Microsoft.AspNetCore.Http.Features": "2.1.0-rc1-final"
38+
}
39+
},
40+
"Microsoft.AspNetCore.Http.Features": {
41+
"type": "Transitive",
42+
"resolved": "2.1.0-rc1-final",
43+
"contentHash": "BwPSAufLsQjTyeGhm//f+GXhV9s68dJRPGIPy0tH5vPgRiTxMxTOqhi3ReJOR9fYnLkf1zxf/dLEly4INk1+dg==",
44+
"dependencies": {
45+
"Microsoft.Extensions.Primitives": "2.1.0-rc1-final"
46+
}
47+
},
48+
"Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions": {
49+
"type": "Transitive",
50+
"resolved": "2.1.0-rc1-final",
51+
"contentHash": "OJ53lhivBAjVmNMWiwB8hiXZ6IW8xKlhkWAG8gHTWruCaH4ofqIK1HjVcFgsf1Olu4/sc2jGGBmMWMSoTb5e1A==",
52+
"dependencies": {
53+
"Microsoft.AspNetCore.Connections.Abstractions": "2.1.0-rc1-final"
54+
}
55+
},
56+
"Microsoft.Extensions.Configuration.Abstractions": {
57+
"type": "Transitive",
58+
"resolved": "2.1.0-rc1-final",
59+
"contentHash": "U0Q+2iXLHmLrYNl0afYa/Co0J8E/q5E81n3InSa8D8w25OiqOU5ETaOT4/ridVtHTNTcGao34LtMWTnOl/Ly+A==",
60+
"dependencies": {
61+
"Microsoft.Extensions.Primitives": "2.1.0-rc1-final"
62+
}
63+
},
64+
"Microsoft.Extensions.DependencyInjection.Abstractions": {
65+
"type": "Transitive",
66+
"resolved": "2.1.0-rc1-final",
67+
"contentHash": "WDSDj1JvNlBYfGyU+4TwDrN7LhJX15RmTnTeH5nVOvDOpju17vqx39yChgXeEAwm9kVwCXrRvs5RQWGVLd1cuw=="
68+
},
69+
"Microsoft.Extensions.FileProviders.Abstractions": {
70+
"type": "Transitive",
71+
"resolved": "2.1.0-rc1-final",
72+
"contentHash": "o4C2e7UUiwAUtNrF+itJKBKNSVGXEE4i3tCtkK2oLk1/CJ88hnEHU+A299NKpUloMbsXH4Z+29lPUbNsKHoeTw==",
73+
"dependencies": {
74+
"Microsoft.Extensions.Primitives": "2.1.0-rc1-final"
75+
}
76+
},
77+
"Microsoft.Extensions.Hosting.Abstractions": {
78+
"type": "Transitive",
79+
"resolved": "2.1.0-rc1-final",
80+
"contentHash": "G+UwVxCWW8p6aEQy5iPt1gt4H4L+LbXyOGVXMZwOVE03KJpg6IxBFd7VkgEsnVhXsjuGdCV0m/76MnJuTMvs+w==",
81+
"dependencies": {
82+
"Microsoft.Extensions.Configuration.Abstractions": "2.1.0-rc1-final",
83+
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.0-rc1-final",
84+
"Microsoft.Extensions.FileProviders.Abstractions": "2.1.0-rc1-final",
85+
"Microsoft.Extensions.Logging.Abstractions": "2.1.0-rc1-final"
86+
}
87+
},
88+
"Microsoft.Extensions.Logging.Abstractions": {
89+
"type": "Transitive",
90+
"resolved": "2.1.0-rc1-final",
91+
"contentHash": "wbv9lUGJPJ+nKMyHWBiImSI99n70nynYW+lKQhUa8fJTr3G2sNUaN12uXh3+riNwnNX+YJldhdo38v8s6N8ZSA=="
92+
},
93+
"Microsoft.Extensions.Options": {
94+
"type": "Transitive",
95+
"resolved": "2.1.0-rc1-final",
96+
"contentHash": "uRkR6l93U/2FVlijdHfdb8NafesLr46dB1RkHtgt8p+lVPy6MspXxvbftEPKFSlT9uT0wWlGw8FEyZSQsex23w==",
97+
"dependencies": {
98+
"Microsoft.Extensions.DependencyInjection.Abstractions": "2.1.0-rc1-final",
99+
"Microsoft.Extensions.Primitives": "2.1.0-rc1-final"
100+
}
101+
},
102+
"Microsoft.Extensions.Primitives": {
103+
"type": "Transitive",
104+
"resolved": "2.1.0-rc1-final",
105+
"contentHash": "UR92OPDCSSBckjDELE1ZOzioml4jrMTYo2LmP3d+HhY56GeS6gwVwTNTxMb3VL1KXKzkYzdbQSo3xVwN6z9Ogg=="
106+
},
107+
"magma.common": {
108+
"type": "Project"
109+
},
110+
"magma.internet.ip": {
111+
"type": "Project",
112+
"dependencies": {
113+
"Magma.Common": "[1.0.0, )"
114+
}
115+
},
116+
"magma.link": {
117+
"type": "Project"
118+
},
119+
"magma.netmap": {
120+
"type": "Project",
121+
"dependencies": {
122+
"Magma.Common": "[1.0.0, )",
123+
"Magma.Link": "[1.0.0, )",
124+
"Magma.Network.Abstractions": "[1.0.0, )",
125+
"Magma.PCap": "[1.0.0, )",
126+
"Magma.Transport.Tcp": "[1.0.0, )",
127+
"Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions": "[2.1.0-rc1-final, )"
128+
}
129+
},
130+
"magma.network.abstractions": {
131+
"type": "Project"
132+
},
133+
"magma.pcap": {
134+
"type": "Project"
135+
},
136+
"magma.transport.tcp": {
137+
"type": "Project",
138+
"dependencies": {
139+
"Magma.Common": "[1.0.0, )",
140+
"Magma.Internet.Ip": "[1.0.0, )",
141+
"Magma.Link": "[1.0.0, )",
142+
"Magma.Network.Abstractions": "[1.0.0, )",
143+
"Microsoft.AspNetCore.Hosting.Abstractions": "[2.1.0-rc1-final, )",
144+
"Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions": "[2.1.0-rc1-final, )",
145+
"Microsoft.Extensions.Options": "[2.1.0-rc1-final, )"
146+
}
147+
}
148+
}
149+
}
150+
}

0 commit comments

Comments
 (0)