Skip to content

Commit b7425a1

Browse files
isra-felYeming Liu
andauthored
Update dependencies of Predictor (#28682)
Co-authored-by: Yeming Liu <yeliu@microsoft.com>
1 parent 51d7106 commit b7425a1

File tree

7 files changed

+14
-8
lines changed

7 files changed

+14
-8
lines changed

tools/Az.Tools.Predictor/Az.Tools.Predictor.SourceGenerator/Az.Tools.Predictor.SourceGenerator.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<!-- The generator projects specific dependencies needs to be added to PackageReference and TargetPathWithTargetPlatformMonikor -->
3131

3232
<ItemGroup>
33-
<PackageReference Include="System.Text.Json" Version="6.0.0" GeneratePathProperty="true" PrivateAssets="all"/>
33+
<PackageReference Include="System.Text.Json" Version="6.0.10" GeneratePathProperty="true" PrivateAssets="all"/>
3434
</ItemGroup>
3535

3636
<PropertyGroup>

tools/Az.Tools.Predictor/Az.Tools.Predictor.Test/Az.Tools.Predictor.Test.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
- But it's excluding content files to reduce the size of the module. The content files are not needed since they're in the runtime (PowerShell)
2929
- The content files are needed to set up the runspace to parse the command line. So we need to include them when we run the unit tests.
3030
-->
31-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.0" />
31+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.3" />
3232
</ItemGroup>
3333

3434
<ItemGroup>

tools/Az.Tools.Predictor/Az.Tools.Predictor/Az.Tools.Predictor.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ For more information on Az Predictor, please visit the following: https://aka.ms
2323
<ItemGroup>
2424
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.18.0" />
2525
<PackageReference Include="Microsoft.Azure.PowerShell.Common.Share" Version="1.3.62-preview" />
26-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.0">
26+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.3">
2727
<ExcludeAssets>contentFiles</ExcludeAssets>
2828
</PackageReference>
29-
<PackageReference Include="System.Management.Automation" Version="7.2.0">
29+
<PackageReference Include="System.Management.Automation" Version="7.2.3">
3030
<ExcludeAssets>contentFiles</ExcludeAssets>
3131
</PackageReference>
3232
</ItemGroup>

tools/Az.Tools.Predictor/Az.Tools.Predictor/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Updated dependencies to address security vulnerabilities
2122

2223
## Version 1.1.3
2324
* Updated data collection mechanism

tools/Az.Tools.Predictor/Directory.Build.props

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project>
33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net8.0</TargetFramework>
55
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
66
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
77
<Version>1.1.3</Version>
@@ -13,6 +13,11 @@
1313
<LangVersion>Latest</LangVersion>
1414
</PropertyGroup>
1515

16+
<PropertyGroup>
17+
<!-- https://learn.microsoft.com/en-us/dotnet/core/tools/sdk-errors/netsdk1206 -->
18+
<UseRidGraph>true</UseRidGraph>
19+
</PropertyGroup>
20+
1621
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
1722
<DefineConstants>DEBUG;TRACE</DefineConstants>
1823
</PropertyGroup>

tools/Az.Tools.Predictor/MockPSConsole/MockPSConsole.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.0" />
12-
<PackageReference Include="System.Management.Automation" Version="7.2.0" />
11+
<PackageReference Include="Microsoft.PowerShell.SDK" Version="7.2.3" />
12+
<PackageReference Include="System.Management.Automation" Version="7.2.3" />
1313
</ItemGroup>
1414

1515
<ItemGroup>

tools/Az.Tools.Predictor/build.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<ModuleName>Az.Tools.Predictor</ModuleName>
1111
<ArtifactFolder>$(RepoArtifacts)Tools</ArtifactFolder>
1212
<ModuleSolutionFile>$(ModuleName).sln</ModuleSolutionFile>
13-
<TestFramework>Net6.0</TestFramework>
13+
<TestFramework>net8.0</TestFramework>
1414
<TestOutputDirectory>$(RepoArtifacts)/TestResults/$(ModuleName)</TestOutputDirectory>
1515
</PropertyGroup>
1616

0 commit comments

Comments
 (0)