mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Bump to .NET 9 Preview 1 (#21229)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<Company>Microsoft Corporation</Company>
|
||||
<Copyright>(c) Microsoft Corporation.</Copyright>
|
||||
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<TargetFramework>net9.0</TargetFramework>
|
||||
<LangVersion>11.0</LangVersion>
|
||||
|
||||
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
|
||||
|
||||
@@ -19,7 +19,7 @@ Describe "Types referenced by PowerShell Standard should not be missing" -Tags
|
||||
"IsSecurityCritical",
|
||||
"IsSecuritySafeCritical",
|
||||
"IsSecurityTransparent",
|
||||
"IsInterface",
|
||||
## "IsInterface", -- disable due to issue https://github.com/dotnet/runtime/issues/98533
|
||||
"IsNested",
|
||||
"IsArray",
|
||||
"IsByRef",
|
||||
|
||||
@@ -36,8 +36,8 @@ param (
|
||||
[ValidateSet("Debug", "Release")]
|
||||
[string] $BuildConfiguration = "Debug",
|
||||
|
||||
[ValidateSet("net8.0")]
|
||||
[string] $BuildFramework = "net8.0"
|
||||
[ValidateSet("net9.0")]
|
||||
[string] $BuildFramework = "net9.0"
|
||||
)
|
||||
|
||||
$script:ModuleName = 'Microsoft.PowerShell.NamedPipeConnection'
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0</FileVersion>
|
||||
<InformationalVersion>1.0.0</InformationalVersion>
|
||||
<TargetFrameworks>net8.0</TargetFrameworks>
|
||||
<TargetFrameworks>net9.0</TargetFrameworks>
|
||||
<SuppressNETCoreSdkPreviewMessage>true</SuppressNETCoreSdkPreviewMessage>
|
||||
<LangVersion>11.0</LangVersion>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -624,7 +624,7 @@ function Invoke-OpenCover
|
||||
[parameter()]$OutputLog = "$HOME/Documents/OpenCover.xml",
|
||||
[parameter()]$TestPath = "${script:psRepoPath}/test/powershell",
|
||||
[parameter()]$OpenCoverPath = "$HOME/OpenCover",
|
||||
[parameter()]$PowerShellExeDirectory = "${script:psRepoPath}/src/powershell-win-core/bin/CodeCoverage/net8.0/win7-x64/publish",
|
||||
[parameter()]$PowerShellExeDirectory = "${script:psRepoPath}/src/powershell-win-core/bin/CodeCoverage/net9.0/win7-x64/publish",
|
||||
[parameter()]$PesterLogElevated = "$HOME/Documents/TestResultsElevated.xml",
|
||||
[parameter()]$PesterLogUnelevated = "$HOME/Documents/TestResultsUnelevated.xml",
|
||||
[parameter()]$PesterLogFormat = "NUnitXml",
|
||||
|
||||
Reference in New Issue
Block a user