Migrate from sln to slnx (#3058)
CodeQL Advanced / Analyze (csharp) (push) Failing after 21s

This commit is contained in:
James Newton-King
2025-05-29 13:35:03 +08:00
committed by GitHub
parent bd0773b8f3
commit 36b605f683
7 changed files with 26 additions and 133 deletions
+2 -2
View File
@@ -14,7 +14,7 @@
$workingName = if ($workingName) {$workingName} else {"Working"}
$assemblyVersion = if ($assemblyVersion) {$assemblyVersion} else {$majorVersion + '.0.0'}
$netCliChannel = "STS"
$netCliVersion = "8.0.300"
$netCliVersion = "9.0.300"
$nugetUrl = "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe"
$ensureNetCliSdk = $true
@@ -151,7 +151,7 @@ task Test -depends Build {
function NetCliBuild()
{
$projectPath = "$sourceDir\Newtonsoft.Json.sln"
$projectPath = "$sourceDir\Newtonsoft.Json.slnx"
$libraryFrameworks = ($script:enabledBuilds | Select-Object @{Name="Framework";Expression={$_.Framework}} | select -expand Framework) -join ";"
$testFrameworks = ($script:enabledBuilds | Select-Object @{Name="Resolved";Expression={if ($_.TestFramework -ne $null) { $_.TestFramework } else { $_.Framework }}} | select -expand Resolved) -join ";"