Skip to content

Commit

Permalink
Use Newtonsoft.Json from game instead of nuget
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-r-elp committed Jan 25, 2025
1 parent 7544edc commit 6d14f31
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion MultiplayerCore/MultiplayerCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<Reference Include="Newtonsoft.Json">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\Newtonsoft.Json.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="AdditionalContentModel.Interfaces">
<HintPath>$(BeatSaberDir)\Beat Saber_Data\Managed\AdditionalContentModel.Interfaces.dll</HintPath>
<Private>False</Private>
Expand Down Expand Up @@ -331,7 +336,6 @@
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
</ItemGroup>
<Target Name="PreBuild" BeforeTargets="BeforeBuild" Condition="'$(NCRUNCH)' != '1'">
<Error Text="The BeatSaberModdingTools.Tasks nuget package doesn't seem to be installed." Condition="'$(BSMTTaskAssembly)' == ''" />
Expand Down

0 comments on commit 6d14f31

Please sign in to comment.