Skip to content

Commit c87e57e

Browse files
committed
Add explicit System.Text.Json reference to fix assembly binding
FAKE 6.1.4 dependencies require System.Text.Json 8.0.0.0, but .NET 6 ships with an older version. Adding explicit PackageReference to System.Text.Json 8.0.5 resolves the assembly binding error.
1 parent 2c545c3 commit c87e57e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fake-build/Build.fsproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818
<PackageReference Include="Fake.Core.ReleaseNotes" Version="6.1.4" />
1919
<PackageReference Include="Fake.DotNet.AssemblyInfoFile" Version="6.1.4" />
2020
<PackageReference Include="Fake.Api.GitHub" Version="6.1.4" />
21+
<PackageReference Include="System.Text.Json" Version="8.0.5" />
2122
</ItemGroup>
2223
</Project>

0 commit comments

Comments
 (0)