Skip to content

Commit

Permalink
Add runtime patch for System.Text.Json version
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSimons committed Jun 10, 2022
1 parent 93d9a5b commit 3116a02
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: MichaelSimons <msimons@microsoft.com>
Date: Fri, 10 Jun 2022 19:00:40 +0000
Subject: [PATCH] Refactor wasmappbuilder's System.Text.Json version reference to
a versions.props property

Backport: https://github.com/dotnet/runtime/pull/70582
---
src/tasks/WasmAppBuilder/WasmAppBuilder.csproj | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tasks/WasmAppBuilder/WasmAppBuilder.csproj b/src/tasks/WasmAppBuilder/WasmAppBuilder.csproj
index 7c8465c6bc0..58f9a843fd3 100644
--- a/src/tasks/WasmAppBuilder/WasmAppBuilder.csproj
+++ b/src/tasks/WasmAppBuilder/WasmAppBuilder.csproj
@@ -21,7 +21,7 @@
<PackageReference Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)" />
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTasksCoreVersion)" />
<PackageReference Include="System.Reflection.MetadataLoadContext" Version="4.7.1" />
- <PackageReference Include="System.Text.Json" Version="6.0.0" PrivateAssets="all" />
+ <PackageReference Include="System.Text.Json" Version="$(SystemTextJsonVersion)" PrivateAssets="all" />
</ItemGroup>

<Target Name="GetFilesToPackage" Returns="@(FilesToPackage)">

0 comments on commit 3116a02

Please sign in to comment.