File tree 10 files changed +6
-51
lines changed
managed/Microsoft.NET.HostModel
Microsoft.DotNet.CoreSetup.Packaging.Tests
Microsoft.NET.HostModel.Tests
libraries/Microsoft.Extensions.DependencyInjection/tests/DI.External.Tests
10 files changed +6
-51
lines changed Original file line number Diff line number Diff line change 21
21
<ItemGroup >
22
22
<!-- SDK pins this to a lower version https://github.com/dotnet/sdk/issues/43325 -->
23
23
<PackageReference Include =" System.Reflection.Metadata" Version =" $(SystemReflectionMetadataToolsetVersion)" />
24
- <!-- The SDK distributes the live version of Json we can't reference that https://github.com/dotnet/runtime/issues/108262 -->
25
- <PackageReference Include =" System.Text.Json" Version =" $(SystemTextJsonToolsetVersion)" />
26
24
<PackageReference Include =" System.Memory" Version =" $(SystemMemoryVersion)" />
27
- </ItemGroup >
28
25
29
- <!-- Suppress System.Text.Json/8.0.4 advisory as desktop msbuild doesn't yet provide binding redirects for the non-vulnerable version (8.0.5). -->
30
- <ItemGroup >
31
- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
26
+ <ProjectReference Include =" $(LibrariesProjectRoot)System.Text.Json\src\System.Text.Json.csproj" />
32
27
</ItemGroup >
33
28
34
29
<ItemGroup >
Original file line number Diff line number Diff line change 14
14
<ProjectReference Include =" ..\..\managed\Microsoft.NET.HostModel\Microsoft.NET.HostModel.csproj" />
15
15
</ItemGroup >
16
16
17
- <!-- Suppress System.Text.Json/8.0.4 advisory as desktop msbuild doesn't yet provide binding redirects for the non-vulnerable version (8.0.5). -->
18
- <ItemGroup >
19
- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
20
- </ItemGroup >
21
-
22
17
</Project >
Original file line number Diff line number Diff line change 13
13
<ProjectReference Include =" ..\..\managed\Microsoft.NET.HostModel\Microsoft.NET.HostModel.csproj" />
14
14
</ItemGroup >
15
15
16
- <!-- Suppress System.Text.Json/8.0.4 advisory as desktop msbuild doesn't yet provide binding redirects for the non-vulnerable version (8.0.5). -->
17
- <ItemGroup >
18
- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
19
- </ItemGroup >
20
-
21
16
</Project >
Original file line number Diff line number Diff line change 32
32
BuildInParallel =" $(BuildInParallel)" />
33
33
</Target >
34
34
35
- <!-- Suppress System.Text.Json/8.0.4 advisory as desktop msbuild doesn't yet provide binding redirects for the non-vulnerable version (8.0.5). -->
36
- <ItemGroup >
37
- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
38
- </ItemGroup >
39
-
40
35
<Import Project =" $(RepositoryEngineeringDir)PackageDownloadAndReference.targets" />
41
36
42
37
</Project >
Original file line number Diff line number Diff line change 13
13
<ProjectReference Include =" ..\..\managed\Microsoft.NET.HostModel\Microsoft.NET.HostModel.csproj" />
14
14
</ItemGroup >
15
15
16
- <!-- Suppress System.Text.Json/8.0.4 advisory as desktop msbuild doesn't yet provide binding redirects for the non-vulnerable version (8.0.5). -->
17
- <ItemGroup >
18
- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
19
- </ItemGroup >
20
-
21
16
<ItemGroup >
22
17
<PackageReference Include =" Microsoft.NET.HostModel.TestData" Version =" $(MicrosoftNETHostModelTestDataVersion)" />
23
18
</ItemGroup >
Original file line number Diff line number Diff line change 11
11
<ProjectReference Include =" ..\..\managed\Microsoft.NET.HostModel\Microsoft.NET.HostModel.csproj" />
12
12
</ItemGroup >
13
13
14
- <!-- Suppress System.Text.Json/8.0.4 advisory as desktop msbuild doesn't yet provide binding redirects for the non-vulnerable version (8.0.5). -->
15
- <ItemGroup >
16
- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
17
- </ItemGroup >
18
-
19
14
<ItemGroup >
20
15
<PackageReference Include =" FluentAssertions" Version =" $(FluentAssertionsVersion)" />
21
16
<PackageReference Include =" Microsoft.DotNet.XUnitExtensions" Version =" $(MicrosoftDotNetXUnitExtensionsVersion)" />
Original file line number Diff line number Diff line change 23
23
<PackageReference Include =" LightInject.Microsoft.DependencyInjection" Version =" 3.7.1" />
24
24
<PackageReference Include =" Grace.DependencyInjection.Extensions" Version =" 7.1.0" />
25
25
<PackageReference Include =" Stashbox.Extensions.Dependencyinjection" Version =" 4.2.3" />
26
+ <!-- Update the transitive STJ to a non-vulnerable version. -->
26
27
<PackageReference Include =" System.Text.Json" Version =" $(SystemTextJsonVersion)" />
27
28
</ItemGroup >
28
29
Original file line number Diff line number Diff line change 48
48
<ItemGroup >
49
49
<PackageReference Include =" Microsoft.Playwright" Version =" 1.47.0" />
50
50
<PackageReference Include =" MSBuild.StructuredLogger" Version =" 2.2.350" />
51
- <PackageReference Include =" System.Text.Json" Version =" $(SystemTextJsonToolsetVersion)" />
51
+ <!-- Update the transitive STJ to a non-vulnerable version. -->
52
+ <PackageReference Include =" System.Text.Json" Version =" $(SystemTextJsonVersion)" />
52
53
<ProjectReference Include =" $(RepoRoot)src\tasks\Microsoft.NET.Sdk.WebAssembly.Pack.Tasks\Microsoft.NET.Sdk.WebAssembly.Pack.Tasks.csproj" />
53
54
<Compile Include =" $(BrowserProjectRoot)debugger\DebuggerTestSuite\BrowserLocator.cs" />
54
55
57
58
<None Include =" data\**\*" Link =" data\%(RecursiveDir)%(FileName)%(Extension)" CopyToOutputDirectory =" PreserveNewest" />
58
59
</ItemGroup >
59
60
60
- <!-- Suppress System.Text.Json/8.0.4 advisory as desktop msbuild doesn't yet provide binding redirects for the non-vulnerable version (8.0.5). -->
61
- <ItemGroup >
62
- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
63
- </ItemGroup >
64
-
65
61
<Target Name =" UpdateRunScriptCommands" BeforeTargets =" GenerateRunScript" DependsOnTargets =" _SetPackageVersionForWorkloadsTesting" >
66
62
<Error Condition =" '$(TestUsingWorkloads)' == 'true' and '$(PackageVersionForWorkloadManifests)' == ''" Text =" %24(PackageVersionForWorkloadManifests) is not set. PackageVersion=$(PackageVersion)." />
67
63
Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <OutputType >Exe</OutputType >
5
4
<TargetFramework >$(NetCoreAppToolCurrent)</TargetFramework >
5
+ <OutputType >Exe</OutputType >
6
6
<ImplicitUsings >enable</ImplicitUsings >
7
7
<Nullable >enable</Nullable >
8
8
</PropertyGroup >
9
9
10
10
<ItemGroup >
11
11
<PackageReference Include =" Microsoft.DotNet.XHarness.Common" Version =" $(MicrosoftDotNetXHarnessTestRunnersCommonVersion)" />
12
- <!-- Update and drop package assets from Json, we'll use the framework version -->
13
- <PackageReference Include =" System.Text.Json" Version =" $(SystemTextJsonToolsetVersion)" PrivateAssets =" All" ExcludeAssets =" All" />
14
- </ItemGroup >
15
-
16
- <!-- Suppress System.Text.Json/8.0.4 advisory as desktop msbuild doesn't yet provide binding redirects for the non-vulnerable version (8.0.5). -->
17
- <ItemGroup >
18
- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
19
12
</ItemGroup >
20
13
21
14
<ItemGroup >
Original file line number Diff line number Diff line change 16
16
<ItemGroup Condition =" $([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net462'))" >
17
17
<!-- These assemblies and their dependencies are made available by MSBuild on .NET Framework -->
18
18
<PackageReference Include =" System.Reflection.Metadata" Version =" $(SystemReflectionMetadataToolsetVersion)" ExcludeAssets =" Runtime" PrivateAssets =" All" />
19
- <PackageReference Include =" System.Text.Json" Version =" $(SystemTextJsonToolsetVersion)" ExcludeAssets =" Runtime" PrivateAssets =" All" />
20
- </ItemGroup >
21
-
22
- <!-- Suppress System.Text.Json/8.0.4 advisory as desktop msbuild doesn't yet provide binding redirects for the non-vulnerable version (8.0.5). -->
23
- <ItemGroup >
24
- <NuGetAuditSuppress Include =" https://github.com/advisories/GHSA-8g4q-xg66-9fp4" />
19
+ <PackageReference Include =" System.Text.Json" Version =" $(SystemTextJsonToolsetVersion)" ExcludeAssets =" Runtime" PrivateAssets =" All" NoWarn =" NU1903" />
25
20
</ItemGroup >
26
21
27
22
<Import Project =" $(RepositoryEngineeringDir)PackageDownloadAndReference.targets" />
You can’t perform that action at this time.
0 commit comments