Skip to content

Commit 4330f93

Browse files
committed
Add Newtonsoft.Json ref in RepoTasks
1 parent fcd8028 commit 4330f93

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eng/tools/RepoTasks/RepoTasks.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
</PropertyGroup>
1616

1717
<ItemGroup>
18+
<!-- Explicitly reference the desired version of Newtonsoft.Json to avoid getting an older version
19+
from the dependency on NuGet.Packaging which would cause a source-built prebuilt. -->
20+
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
1821
<PackageReference Include="NuGet.Packaging" Version="$(NuGetPackagingVersion)" />
1922
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="$(MicrosoftExtensionsDependencyModelVersion)" />
2023
</ItemGroup>

0 commit comments

Comments
 (0)