-
Notifications
You must be signed in to change notification settings - Fork 446
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add runtime patch for System.Text.Json version
- Loading branch information
1 parent
93d9a5b
commit 3116a02
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
...d/tarball/patches/runtime/0002-Refactor-wasmappbuilder-System.Text.Json-version-ref.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)"> |