Skip to content

Commit 6b0670f

Browse files
committed
build: remove dependency on LethalCompany-GameLibs-Steam
Also downgrades to net standard 2.0 and unity engine modules 2021.3.27 to increase compatability with older engines
1 parent a2c9a48 commit 6b0670f

File tree

2 files changed

+27
-33
lines changed

2 files changed

+27
-33
lines changed

src/UnityDebuggerAssistant/UnityDebuggerAssistant.csproj

+7-14
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.1</TargetFramework>
4+
<TargetFramework>netstandard2.0</TargetFramework>
55

66
<!--
77
These were automatically generated for you by the template.
@@ -36,19 +36,12 @@
3636
-->
3737

3838
<ItemGroup>
39-
<PackageReference
40-
Include="BepInEx.Analyzers"
41-
PrivateAssets="all"
42-
Version="1.*"
43-
/>
44-
<PackageReference
45-
Include="BepInEx.Core"
46-
Version="5.4.*"
47-
/>
48-
<PackageReference
49-
Include="LethalCompany.GameLibs.Steam"
50-
Version="61.0.0-ngd.0"
51-
/>
39+
<PackageReference Include="BepInEx.Analyzers" PrivateAssets="all" Version="1.*" />
40+
<PackageReference Include="BepInEx.Core" Version="5.4.*" />
41+
<PackageReference Include="UnityEngine.Modules" Version="2021.3.27">
42+
<IncludeAssets>all</IncludeAssets>
43+
<PrivateAssets>all</PrivateAssets>
44+
</PackageReference>
5245

5346
<!--
5447
When adding additional references, ensure you use <Private>false</Private> to

src/UnityDebuggerAssistant/packages.lock.json

+20-19
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"version": 1,
33
"dependencies": {
4-
".NETStandard,Version=v2.1": {
4+
".NETStandard,Version=v2.0": {
55
"BepInEx.Analyzers": {
66
"type": "Direct",
77
"requested": "[1.*, )",
@@ -18,16 +18,21 @@
1818
"HarmonyX": "2.7.0"
1919
}
2020
},
21-
"LethalCompany.GameLibs.Steam": {
21+
"NETStandard.Library": {
2222
"type": "Direct",
23-
"requested": "[61.0.0-ngd.0, )",
24-
"resolved": "61.0.0-ngd.0",
25-
"contentHash": "Zkz70CrtBBTaHDhscDRShGOC/ykdoXR6tEv3See7LB7vzGRnkyca3fVSu5pj2cuHjk4NOvAlUFeBCvim+i88dQ==",
23+
"requested": "[2.0.3, )",
24+
"resolved": "2.0.3",
25+
"contentHash": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
2626
"dependencies": {
27-
"Newtonsoft.JSON": "13.0.3",
28-
"UnityEngine.Modules": "2022.3.9"
27+
"Microsoft.NETCore.Platforms": "1.1.0"
2928
}
3029
},
30+
"UnityEngine.Modules": {
31+
"type": "Direct",
32+
"requested": "[2021.3.27, )",
33+
"resolved": "2021.3.27",
34+
"contentHash": "9pXE4Br57kyxX8n4c+kkUhB2ssuVwlla+MoKGpwR3p6dH8haNUUs1HNeR/ovnKK797J5xmye+WjLOMRA/caISQ=="
35+
},
3136
"BepInEx.BaseLib": {
3237
"type": "Transitive",
3338
"resolved": "5.4.20",
@@ -86,11 +91,6 @@
8691
"System.Reflection.TypeExtensions": "4.7.0"
8792
}
8893
},
89-
"Newtonsoft.Json": {
90-
"type": "Transitive",
91-
"resolved": "13.0.3",
92-
"contentHash": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ=="
93-
},
9494
"System.Collections": {
9595
"type": "Transitive",
9696
"resolved": "4.3.0",
@@ -248,7 +248,10 @@
248248
"System.Reflection.Emit": {
249249
"type": "Transitive",
250250
"resolved": "4.7.0",
251-
"contentHash": "VR4kk8XLKebQ4MZuKuIni/7oh+QGFmZW3qORd1GvBq/8026OpW501SzT/oypwiQl4TvT8ErnReh/NzY9u+C6wQ=="
251+
"contentHash": "VR4kk8XLKebQ4MZuKuIni/7oh+QGFmZW3qORd1GvBq/8026OpW501SzT/oypwiQl4TvT8ErnReh/NzY9u+C6wQ==",
252+
"dependencies": {
253+
"System.Reflection.Emit.ILGeneration": "4.7.0"
254+
}
252255
},
253256
"System.Reflection.Emit.ILGeneration": {
254257
"type": "Transitive",
@@ -258,7 +261,10 @@
258261
"System.Reflection.Emit.Lightweight": {
259262
"type": "Transitive",
260263
"resolved": "4.7.0",
261-
"contentHash": "a4OLB4IITxAXJeV74MDx49Oq2+PsF6Sml54XAFv+2RyWwtDBcabzoxiiJRhdhx+gaohLh4hEGCLQyBozXoQPqA=="
264+
"contentHash": "a4OLB4IITxAXJeV74MDx49Oq2+PsF6Sml54XAFv+2RyWwtDBcabzoxiiJRhdhx+gaohLh4hEGCLQyBozXoQPqA==",
265+
"dependencies": {
266+
"System.Reflection.Emit.ILGeneration": "4.7.0"
267+
}
262268
},
263269
"System.Reflection.Extensions": {
264270
"type": "Transitive",
@@ -368,11 +374,6 @@
368374
"Microsoft.NETCore.Targets": "1.1.0",
369375
"System.Runtime": "4.3.0"
370376
}
371-
},
372-
"UnityEngine.Modules": {
373-
"type": "Transitive",
374-
"resolved": "2022.3.9",
375-
"contentHash": "sSxqZjd05U0NWlX+eappdlsEuXFvDRHkUaClDVTocGRzCmIwNvgGJIPh22lGklIpNZ3cJZneYJkIUnEIazR8VA=="
376377
}
377378
}
378379
}

0 commit comments

Comments
 (0)