Commit 8192651
committed
Merged PR 51089: Add back the STJ pinning as DependencyModel has a 8.0.6 dependency which will...
Add back the STJ pinning as DependencyModel has a 8.0.6 dependency which will break in VS tasks
----
#### AI description (iteration 1)
#### PR Classification
This pull request reintroduces dependency version pinning for System.Text.Json to ensure compatibility with ComponentModel's 8.0.6 dependency.
#### PR Summary
The changes add a new pinned version property and update multiple project files to explicitly reference the pinned System.Text.Json version. This ensures consistency with Microsoft.Extensions.DependencyModel and avoids conflicts with the version unified by MSBuild in VS 17.10.
- `eng/Versions.props`: Added `<PinnedSystemTextJsonPackageVersion>` with value 8.0.5 and an explanatory comment.
- `src/RazorSdk/Tasks/Microsoft.NET.Sdk.Razor.Tasks.csproj`: Updated the System.Text.Json PackageReference to use the pinned version.
- `src/StaticWebAssetsSdk/Tasks/Microsoft.NET.Sdk.StaticWebAssets.Tasks.csproj`: Modified the System.Text.Json PackageReference with the VersionOverride attribute.
- `src/Tasks/Microsoft.NET.Build.Tasks/Microsoft.NET.Build.Tasks.csproj`: Updated the System.Text.Json PackageReference to include the VersionOverride.
- `src/WebSdk/Publish/Tasks/Microsoft.NET.Sdk.Publish.Tasks.csproj`: Applied the VersionOverride to the System.Text.Json PackageReference.
<!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot -->1 parent 88a05a0 commit 8192651
File tree
5 files changed
+6
-4
lines changed- eng
- src
- RazorSdk/Tasks
- StaticWebAssetsSdk/Tasks
- Tasks/Microsoft.NET.Build.Tasks
- WebSdk/Publish/Tasks
5 files changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
84 | 86 | | |
85 | 87 | | |
86 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments