Skip to content

Commit 7d95b7f

Browse files
committed
Upgrade to .NET 8 since .NET 6 is past EOL
1 parent bcec9f6 commit 7d95b7f

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

Diff for: .pipelines/PSScriptAnalyzer-Official.yml

+1-4
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,7 @@ extends:
8080
inputs:
8181
packageType: sdk
8282
useGlobalJson: true
83-
- pwsh: |
84-
Register-PSRepository -Name CFS -SourceLocation "https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/nuget/v2" -InstallationPolicy Trusted
85-
Install-Module -Repository CFS -Name Microsoft.PowerShell.PSResourceGet
86-
./tools/installPSResources.ps1 -PSRepository CFS
83+
- pwsh: ./tools/installPSResources.ps1 -PSRepository CFS
8784
displayName: Install PSResources
8885
- pwsh: ./build.ps1 -Configuration Release -All
8986
displayName: Build

Diff for: Engine/Engine.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<VersionPrefix>$(ModuleVersion)</VersionPrefix>
5-
<TargetFrameworks>net6;net462</TargetFrameworks>
5+
<TargetFrameworks>net8;net462</TargetFrameworks>
66
<AssemblyName>Microsoft.Windows.PowerShell.ScriptAnalyzer</AssemblyName>
77
<AssemblyVersion>$(ModuleVersion)</AssemblyVersion>
88
<PackageId>Engine</PackageId>

Diff for: Rules/Rules.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<PropertyGroup>
44
<VersionPrefix>$(ModuleVersion)</VersionPrefix>
5-
<TargetFrameworks>net6;net462</TargetFrameworks>
5+
<TargetFrameworks>net8;net462</TargetFrameworks>
66
<AssemblyName>Microsoft.Windows.PowerShell.ScriptAnalyzer.BuiltinRules</AssemblyName>
77
<AssemblyVersion>$(ModuleVersion)</AssemblyVersion>
88
<PackageId>Rules</PackageId>

Diff for: global.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"sdk": {
3-
"version": "6.0.427"
3+
"version": "8.0.406",
4+
"rollForward": "latestFeature"
45
}
56
}

0 commit comments

Comments
 (0)