Skip to content

Commit 4c2f198

Browse files
committed
CP-44752: SDK(C#): add .Net 8.0 as target
Apparently this has fewer dependencies than netstandard2.0, and some projects would've picked net45 in favour of netstandard2.0. Eventually we may want to drop net45, for now just add the new target. There is also net9.0, but it has an EOL date ahead of net8.0 which is LTS. Signed-off-by: Edwin Török <[email protected]>
1 parent 740eb79 commit 4c2f198

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

ocaml/sdk-gen/csharp/autogen/src/XenServer.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<Version>0.0.0</Version>
4-
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
4+
<TargetFrameworks>net80;netstandard2.0;net45</TargetFrameworks>
55
<OutputType>Library</OutputType>
66
<RootNamespace>XenAPI</RootNamespace>
77
<GenerateAssemblyInfo>True</GenerateAssemblyInfo>

ocaml/sdk-gen/csharp/autogen/src/packages.lock.json

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
".NETFramework,Version=v4.5": {
55
"Microsoft.NETFramework.ReferenceAssemblies": {
66
"type": "Direct",
7-
"requested": "[1.0.2, )",
8-
"resolved": "1.0.2",
9-
"contentHash": "5/cSEVld+px/CuRrbohO/djfg6++eR6zGpy88MgqloXvkj//WXWpFZyu/OpkXPN0u5m+dN/EVwLNYFUxD4h2+A==",
7+
"requested": "[1.0.3, )",
8+
"resolved": "1.0.3",
9+
"contentHash": "vUc9Npcs14QsyOD01tnv/m8sQUnGTGOw1BCmKcv77LBJY7OxhJ+zJF7UD/sCL3lYNFuqmQEVlkfS4Quif6FyYg==",
1010
"dependencies": {
11-
"Microsoft.NETFramework.ReferenceAssemblies.net45": "1.0.2"
11+
"Microsoft.NETFramework.ReferenceAssemblies.net45": "1.0.3"
1212
}
1313
},
1414
"Newtonsoft.Json": {
@@ -19,8 +19,8 @@
1919
},
2020
"Microsoft.NETFramework.ReferenceAssemblies.net45": {
2121
"type": "Transitive",
22-
"resolved": "1.0.2",
23-
"contentHash": "Nm14pRmqB+4u2JEMdtngnbDcJidTmswMxOJ992TpTwiwcUTERxLlHwwSh0HiUoRjS0TO0sozsiB0h6FHjCUdEA=="
22+
"resolved": "1.0.3",
23+
"contentHash": "dcSLNuUX2rfZejsyta2EWZ1W5U6ucbFt697lRg1qiTlTM5ZlYv4uAvuxE6ROy6xLWWhLhOaReCDxkhxcajRYtQ=="
2424
}
2525
},
2626
".NETStandard,Version=v2.0": {
@@ -79,6 +79,14 @@
7979
"resolved": "6.0.0",
8080
"contentHash": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg=="
8181
}
82+
},
83+
"net8.0": {
84+
"Newtonsoft.Json": {
85+
"type": "Direct",
86+
"requested": "[13.0.3, )",
87+
"resolved": "13.0.3",
88+
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
89+
}
8290
}
8391
}
84-
}
92+
}

0 commit comments

Comments
 (0)