Bump to .NET 9 Preview 1 (#21229)

This commit is contained in:
Aditya Patwardhan
2024-02-16 03:15:11 +00:00
committed by GitHub
parent 71035543e7
commit a145f47787
30 changed files with 63 additions and 66 deletions
+1 -1
View File
@@ -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",
+2 -2
View File
@@ -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'
@@ -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>
+1 -1
View File
@@ -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",