Skip to content

Commit 6d14f31

Browse files
committed
Use Newtonsoft.Json from game instead of nuget
1 parent 7544edc commit 6d14f31

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

MultiplayerCore/MultiplayerCore.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@
9090
<PrivateAssets>all</PrivateAssets>
9191
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
9292
</PackageReference>
93+
<Reference Include="Newtonsoft.Json">
94+
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Newtonsoft.Json.dll</HintPath>
95+
<Private>False</Private>
96+
<SpecificVersion>False</SpecificVersion>
97+
</Reference>
9398
<Reference Include="AdditionalContentModel.Interfaces">
9499
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\AdditionalContentModel.Interfaces.dll</HintPath>
95100
<Private>False</Private>
@@ -331,7 +336,6 @@
331336
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
332337
<PrivateAssets>all</PrivateAssets>
333338
</PackageReference>
334-
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
335339
</ItemGroup>
336340
<Target Name="PreBuild" BeforeTargets="BeforeBuild" Condition="'$(NCRUNCH)' != '1'">
337341
<Error Text="The BeatSaberModdingTools.Tasks nuget package doesn't seem to be installed." Condition="'$(BSMTTaskAssembly)' == ''" />

0 commit comments

Comments
 (0)