This is an automated email from the ASF dual-hosted git repository.
paulirwin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucenenet.git
The following commit(s) were added to refs/heads/master by this push:
new 63f6d5e76 Drop net6.0 target and use net6.0 to run netstandard2.1
tests, #1020 (#1039)
63f6d5e76 is described below
commit 63f6d5e7620103fdbd142be2fcf4481661e44533
Author: Paul Irwin <[email protected]>
AuthorDate: Thu Nov 21 08:58:36 2024 -0700
Drop net6.0 target and use net6.0 to run netstandard2.1 tests, #1020 (#1039)
* Drop net6.0 target and use net6.0 for netstandard2.1 tests, #1020
* Regenerate github test workflows
---
.build/azure-templates/run-tests-on-os.yml | 25 --------
.github/workflows/Generate-TestWorkflows.ps1 | 37 ++++--------
.github/workflows/Lucene-Net-Tests-AllProjects.yml | 14 ++---
.../workflows/Lucene-Net-Tests-Analysis-Common.yml | 14 ++---
.../Lucene-Net-Tests-Analysis-Kuromoji.yml | 14 ++---
.../Lucene-Net-Tests-Analysis-Morfologik.yml | 14 ++---
.../Lucene-Net-Tests-Analysis-OpenNLP.yml | 12 +---
.../Lucene-Net-Tests-Analysis-Phonetic.yml | 14 ++---
.../Lucene-Net-Tests-Analysis-SmartCn.yml | 14 ++---
.../Lucene-Net-Tests-Analysis-Stempel.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Benchmark.yml | 14 ++---
.../workflows/Lucene-Net-Tests-Classification.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Cli.yml | 12 +---
.../workflows/Lucene-Net-Tests-CodeAnalysis.yml | 8 +--
.github/workflows/Lucene-Net-Tests-Codecs.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Demo.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Expressions.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Facet.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Grouping.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Highlighter.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-ICU.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Join.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Memory.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Misc.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Queries.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-QueryParser.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Replicator.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Sandbox.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Spatial.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-Suggest.yml | 14 ++---
...Net-Tests-TestFramework-DependencyInjection.yml | 14 ++---
.../workflows/Lucene-Net-Tests-TestFramework.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-_A-D.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-_E-I.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-_I-J.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-_J-S.yml | 14 ++---
.github/workflows/Lucene-Net-Tests-_T-Z.yml | 14 ++---
Directory.Build.targets | 6 +-
TestTargetFramework.props | 6 +-
azure-pipelines.yml | 69 ----------------------
.../Lucene.Net.Analysis.Common.csproj | 2 +-
.../Lucene.Net.Analysis.Kuromoji.csproj | 2 +-
.../Lucene.Net.Analysis.Morfologik.csproj | 2 +-
.../Lucene.Net.Analysis.OpenNLP.csproj | 3 +-
.../Lucene.Net.Analysis.Phonetic.csproj | 2 +-
.../Lucene.Net.Analysis.SmartCn.csproj | 2 +-
.../Lucene.Net.Analysis.Stempel.csproj | 2 +-
.../Lucene.Net.Benchmark.csproj | 2 +-
.../Lucene.Net.Classification.csproj | 2 +-
src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj | 2 +-
src/Lucene.Net.Demo/Lucene.Net.Demo.csproj | 2 +-
.../Lucene.Net.Expressions.csproj | 2 +-
src/Lucene.Net.Facet/Lucene.Net.Facet.csproj | 2 +-
src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj | 2 +-
.../Lucene.Net.Highlighter.csproj | 2 +-
src/Lucene.Net.Join/Lucene.Net.Join.csproj | 2 +-
src/Lucene.Net.Memory/Lucene.Net.Memory.csproj | 2 +-
src/Lucene.Net.Misc/Lucene.Net.Misc.csproj | 2 +-
src/Lucene.Net.Queries/Lucene.Net.Queries.csproj | 2 +-
.../Lucene.Net.QueryParser.csproj | 2 +-
.../Lucene.Net.Replicator.csproj | 2 +-
src/Lucene.Net.Sandbox/Lucene.Net.Sandbox.csproj | 2 +-
src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj | 2 +-
src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj | 2 +-
.../Lucene.Net.TestFramework.csproj | 2 +-
.../Lucene.Net.Tests.AllProjects.csproj | 2 +-
.../Lucene.Net.Tests.Analysis.OpenNLP.csproj | 7 ++-
src/Lucene.Net/Lucene.Net.csproj | 2 +-
src/dotnet/Lucene.Net.ICU/Lucene.Net.ICU.csproj | 2 +-
.../Lucene.Net.Replicator.AspNetCore.csproj | 2 +-
70 files changed, 186 insertions(+), 503 deletions(-)
diff --git a/.build/azure-templates/run-tests-on-os.yml
b/.build/azure-templates/run-tests-on-os.yml
index 9ebbb55a4..dabe18ae4 100644
--- a/.build/azure-templates/run-tests-on-os.yml
+++ b/.build/azure-templates/run-tests-on-os.yml
@@ -132,31 +132,6 @@ steps:
displayName: 'Use .NET SDK 6.0.421 (x86)'
condition: and(succeeded(), contains('${{ parameters.framework }}',
'net6.'), eq('${{ parameters.vsTestPlatform }}', 'x86'))
-- task: UseDotNet@2
- displayName: 'Use .NET SDK 5.0.408'
- inputs:
- packageType: 'sdk'
- version: '5.0.408'
- performMultiLevelLookup: '${{ variables.PerformMultiLevelLookup }}'
- condition: and(succeeded(), contains('${{ parameters.framework }}', 'net5.'))
-
- # Hack: .NET 8 no longer installs the x86 bits and they must be installed
separately. However, it is not
- # trivial to get it into the path and to get it to pass the minimum SDK
version check in runbuild.ps1.
- # So, we install it afterward and set the environment variable so the
above SDK can delegate to it.
- # This code only works on Windows.
-- pwsh: |
- $sdkVersion = '5.0.408'
- $architecture = '${{ parameters.vsTestPlatform }}'
- $installScriptPath = "${env:AGENT_TEMPDIRECTORY}/dotnet-install.ps1"
- $installScriptUrl =
"https://raw.githubusercontent.com/dotnet/install-scripts/main/src/dotnet-install.ps1"
- [Net.ServicePointManager]::SecurityProtocol =
[Net.SecurityProtocolType]::Tls12
- Invoke-WebRequest $installScriptUrl -OutFile $installScriptPath
-TimeoutSec 60
- $installPath = "${env:ProgramFiles(x86)}/dotnet"
- & $installScriptPath -Version $sdkVersion -Architecture $architecture
-InstallDir $installPath
- Write-Host "##vso[task.setvariable variable=DOTNET_ROOT_X86;]$installPath"
- displayName: 'Use .NET SDK 5.0.408 (x86)'
- condition: and(succeeded(), contains('${{ parameters.framework }}',
'net5.'), eq('${{ parameters.vsTestPlatform }}', 'x86'))
-
#- template: 'show-all-files.yml' # Uncomment for debugging
- pwsh: |
$framework = '${{ parameters.framework }}'
diff --git a/.github/workflows/Generate-TestWorkflows.ps1
b/.github/workflows/Generate-TestWorkflows.ps1
index 406a77532..1bafcd169 100644
--- a/.github/workflows/Generate-TestWorkflows.ps1
+++ b/.github/workflows/Generate-TestWorkflows.ps1
@@ -38,11 +38,11 @@
.PARAMETER TestFrameworks
A string array of Dotnet target framework monikers to run the tests on.
The default is
- @('net6.0', 'net5.0','net472','net48').
+ @('net8.0','net6.0','net472','net48').
.PARAMETER OperatingSystems
A string array of Github Actions operating system monikers to run the
tests on.
- The default is @('windows-latest', 'ubuntu-22.04').
+ The default is @('windows-latest', 'ubuntu-latest').
.PARAMETER TestPlatforms
A string array of platforms to run the tests on. Valid values are x64 and
x86.
@@ -58,19 +58,15 @@
.PARAMETER DotNet6SDKVersion
The SDK version of .NET 6.x to install on the build agent to be used for
building and
testing. This SDK is always installed on the build agent. The default is
6.0.x.
-
- .PARAMETER DotNet5SDKVersion
- The SDK version of .NET 5.x to install on the build agent to be used for
building and
- testing. This SDK is always installed on the build agent. The default is
5.0.x.
#>
param(
[string]$OutputDirectory = $PSScriptRoot,
[string]$RepoRoot = (Split-Path (Split-Path $PSScriptRoot)),
- [string[]]$TestFrameworks = @('net8.0', 'net5.0','net472','net48'), #
targets under test: net6.0, netstandard2.1, netstanard2.0, net462
+ [string[]]$TestFrameworks = @('net8.0','net6.0','net472','net48'), #
targets under test: net8.0, netstandard2.1, netstandard2.0, net462
- [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-22.04'), # NOTE:
ubuntu-24.04 breaks the .NET 5 build currently
+ [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-latest'),
[string[]]$TestPlatforms = @('x64'),
@@ -78,9 +74,7 @@ param(
[string]$DotNet8SDKVersion = '8.0.x',
- [string]$DotNet6SDKVersion = '6.0.x',
-
- [string]$DotNet5SDKVersion = '5.0.x'
+ [string]$DotNet6SDKVersion = '6.0.x'
)
@@ -157,12 +151,11 @@ function Write-TestWorkflow(
[string]$RelativeRoot,
[string]$ProjectPath,
[string[]]$Configurations = @('Release'),
- [string[]]$TestFrameworks = @('net5.0', 'net48'),
+ [string[]]$TestFrameworks = @('net6.0', 'net48'),
[string[]]$TestPlatforms = @('x64'),
- [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-22.04',
'macos-latest'),
+ [string[]]$OperatingSystems = @('windows-latest', 'ubuntu-latest',
'macos-latest'),
[string]$DotNet8SDKVersion = $DotNet8SDKVersion,
- [string]$DotNet6SDKVersion = $DotNet6SDKVersion,
- [string]$DotNet5SDKVersion = $DotNet5SDKVersion) {
+ [string]$DotNet6SDKVersion = $DotNet6SDKVersion) {
$dependencies = New-Object System.Collections.Generic.HashSet[string]
Get-ProjectDependencies $ProjectPath $RelativeRoot $dependencies
@@ -248,9 +241,9 @@ jobs:
platform: $platforms
configuration: $configurations
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -282,12 +275,6 @@ jobs:
echo `"DOTNET_CLI_TELEMETRY_OPTOUT=1`" | Out-File -FilePath
`$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '$DotNet5SDKVersion'
- if: `${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
@@ -356,7 +343,7 @@ try {
Pop-Location
}
-#Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath
$projectPath -RelativeRoot $repoRoot -TestFrameworks @('net5.0')
-OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms
-Configurations $Configurations -DotNet8SDKVersion $DotNet8SDKVersion
-DotNet6SDKVersion $DotNet6SDKVersion -DotNet5SDKVersion $DotNet5SDKVersion
+#Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath
$projectPath -RelativeRoot $repoRoot -TestFrameworks @('net6.0')
-OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms
-Configurations $Configurations -DotNet8SDKVersion $DotNet8SDKVersion
-DotNet6SDKVersion $DotNet6SDKVersion
#Write-Host $TestProjects
@@ -383,5 +370,5 @@ foreach ($testProject in $TestProjects) {
Write-Host "Frameworks To Test for ${projectName}: $($frameworks -join
';')" -ForegroundColor Cyan
#Write-Host "Project: $projectName"
- Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath
$testProject -RelativeRoot $RepoRoot -TestFrameworks $frameworks
-OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms
-Configurations $Configurations -DotNet8SDKVersion $DotNet8SDKVersion
-DotNet6SDKVersion $DotNet6SDKVersion -DotNet5SDKVersion $DotNet5SDKVersion
+ Write-TestWorkflow -OutputDirectory $OutputDirectory -ProjectPath
$testProject -RelativeRoot $RepoRoot -TestFrameworks $frameworks
-OperatingSystems $OperatingSystems -TestPlatforms $TestPlatforms
-Configurations $Configurations -DotNet8SDKVersion $DotNet8SDKVersion
-DotNet6SDKVersion $DotNet6SDKVersion
}
diff --git a/.github/workflows/Lucene-Net-Tests-AllProjects.yml
b/.github/workflows/Lucene-Net-Tests-AllProjects.yml
index e089003ff..228743d04 100644
--- a/.github/workflows/Lucene-Net-Tests-AllProjects.yml
+++ b/.github/workflows/Lucene-Net-Tests-AllProjects.yml
@@ -71,14 +71,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -100,12 +100,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml
b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml
index 8d93d129d..579c512ff 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Common.yml
@@ -55,14 +55,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -84,12 +84,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
index ab1e45290..469451a61 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Kuromoji.yml
@@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -81,12 +81,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
index efac305bd..710ffc797 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Morfologik.yml
@@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -81,12 +81,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
index 8adc21939..d94f07bc3 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-OpenNLP.yml
@@ -55,14 +55,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
+ os: [windows-latest, ubuntu-latest]
framework: [net8.0, net48]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -84,12 +84,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
index f99059a50..46f8b8be1 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Phonetic.yml
@@ -49,14 +49,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -78,12 +78,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
index d3b6726fd..c20cc0a45 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-SmartCn.yml
@@ -53,14 +53,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -82,12 +82,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
index 410af6a97..7cfde5d0e 100644
--- a/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
+++ b/.github/workflows/Lucene-Net-Tests-Analysis-Stempel.yml
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -79,12 +79,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Benchmark.yml
b/.github/workflows/Lucene-Net-Tests-Benchmark.yml
index c47e22448..a10fd78c6 100644
--- a/.github/workflows/Lucene-Net-Tests-Benchmark.yml
+++ b/.github/workflows/Lucene-Net-Tests-Benchmark.yml
@@ -62,14 +62,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -91,12 +91,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Classification.yml
b/.github/workflows/Lucene-Net-Tests-Classification.yml
index 6e924fcea..307f7af94 100644
--- a/.github/workflows/Lucene-Net-Tests-Classification.yml
+++ b/.github/workflows/Lucene-Net-Tests-Classification.yml
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -79,12 +79,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Cli.yml
b/.github/workflows/Lucene-Net-Tests-Cli.yml
index 7967470c6..f6e3c4654 100644
--- a/.github/workflows/Lucene-Net-Tests-Cli.yml
+++ b/.github/workflows/Lucene-Net-Tests-Cli.yml
@@ -69,14 +69,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
+ os: [windows-latest, ubuntu-latest]
framework: [net8.0]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -99,12 +99,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml
b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml
index 8a06e864d..da68624b6 100644
--- a/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml
+++ b/.github/workflows/Lucene-Net-Tests-CodeAnalysis.yml
@@ -1,4 +1,4 @@
-####################################################################################
+####################################################################################
# DO NOT EDIT: This file was automatically generated by
Generate-TestWorkflows.ps1
####################################################################################
# Licensed to the Apache Software Foundation (ASF) under one
@@ -77,12 +77,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Codecs.yml
b/.github/workflows/Lucene-Net-Tests-Codecs.yml
index e17c598e4..7310862e3 100644
--- a/.github/workflows/Lucene-Net-Tests-Codecs.yml
+++ b/.github/workflows/Lucene-Net-Tests-Codecs.yml
@@ -48,14 +48,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -77,12 +77,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Demo.yml
b/.github/workflows/Lucene-Net-Tests-Demo.yml
index b245c7287..4e0ede1f0 100644
--- a/.github/workflows/Lucene-Net-Tests-Demo.yml
+++ b/.github/workflows/Lucene-Net-Tests-Demo.yml
@@ -57,14 +57,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -86,12 +86,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Expressions.yml
b/.github/workflows/Lucene-Net-Tests-Expressions.yml
index e4c78be5d..77cb8f29b 100644
--- a/.github/workflows/Lucene-Net-Tests-Expressions.yml
+++ b/.github/workflows/Lucene-Net-Tests-Expressions.yml
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -79,12 +79,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Facet.yml
b/.github/workflows/Lucene-Net-Tests-Facet.yml
index 7d28a735c..57cbec889 100644
--- a/.github/workflows/Lucene-Net-Tests-Facet.yml
+++ b/.github/workflows/Lucene-Net-Tests-Facet.yml
@@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -81,12 +81,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Grouping.yml
b/.github/workflows/Lucene-Net-Tests-Grouping.yml
index 2fc280dcd..2f3167185 100644
--- a/.github/workflows/Lucene-Net-Tests-Grouping.yml
+++ b/.github/workflows/Lucene-Net-Tests-Grouping.yml
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -79,12 +79,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Highlighter.yml
b/.github/workflows/Lucene-Net-Tests-Highlighter.yml
index aec85bd0e..471101c2a 100644
--- a/.github/workflows/Lucene-Net-Tests-Highlighter.yml
+++ b/.github/workflows/Lucene-Net-Tests-Highlighter.yml
@@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -81,12 +81,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-ICU.yml
b/.github/workflows/Lucene-Net-Tests-ICU.yml
index 3c89fe5ae..f4b4afc97 100644
--- a/.github/workflows/Lucene-Net-Tests-ICU.yml
+++ b/.github/workflows/Lucene-Net-Tests-ICU.yml
@@ -65,14 +65,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -94,12 +94,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Join.yml
b/.github/workflows/Lucene-Net-Tests-Join.yml
index e8c9ef556..701845831 100644
--- a/.github/workflows/Lucene-Net-Tests-Join.yml
+++ b/.github/workflows/Lucene-Net-Tests-Join.yml
@@ -51,14 +51,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -80,12 +80,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Memory.yml
b/.github/workflows/Lucene-Net-Tests-Memory.yml
index d0e0bd1df..b2787f034 100644
--- a/.github/workflows/Lucene-Net-Tests-Memory.yml
+++ b/.github/workflows/Lucene-Net-Tests-Memory.yml
@@ -53,14 +53,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -82,12 +82,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Misc.yml
b/.github/workflows/Lucene-Net-Tests-Misc.yml
index f2c66c139..73c1eca36 100644
--- a/.github/workflows/Lucene-Net-Tests-Misc.yml
+++ b/.github/workflows/Lucene-Net-Tests-Misc.yml
@@ -49,14 +49,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -78,12 +78,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Queries.yml
b/.github/workflows/Lucene-Net-Tests-Queries.yml
index 9cf0a4e26..ca10ddcaa 100644
--- a/.github/workflows/Lucene-Net-Tests-Queries.yml
+++ b/.github/workflows/Lucene-Net-Tests-Queries.yml
@@ -49,14 +49,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -78,12 +78,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-QueryParser.yml
b/.github/workflows/Lucene-Net-Tests-QueryParser.yml
index 2c55e1e4e..778f85f76 100644
--- a/.github/workflows/Lucene-Net-Tests-QueryParser.yml
+++ b/.github/workflows/Lucene-Net-Tests-QueryParser.yml
@@ -55,14 +55,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -84,12 +84,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Replicator.yml
b/.github/workflows/Lucene-Net-Tests-Replicator.yml
index c8e5f555e..d3ab49e3d 100644
--- a/.github/workflows/Lucene-Net-Tests-Replicator.yml
+++ b/.github/workflows/Lucene-Net-Tests-Replicator.yml
@@ -54,14 +54,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -83,12 +83,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Sandbox.yml
b/.github/workflows/Lucene-Net-Tests-Sandbox.yml
index 978c964bd..a20c53e4c 100644
--- a/.github/workflows/Lucene-Net-Tests-Sandbox.yml
+++ b/.github/workflows/Lucene-Net-Tests-Sandbox.yml
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -79,12 +79,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Spatial.yml
b/.github/workflows/Lucene-Net-Tests-Spatial.yml
index 2183d3643..79cd6453a 100644
--- a/.github/workflows/Lucene-Net-Tests-Spatial.yml
+++ b/.github/workflows/Lucene-Net-Tests-Spatial.yml
@@ -51,14 +51,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -80,12 +80,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-Suggest.yml
b/.github/workflows/Lucene-Net-Tests-Suggest.yml
index 46d9ea555..6564adde2 100644
--- a/.github/workflows/Lucene-Net-Tests-Suggest.yml
+++ b/.github/workflows/Lucene-Net-Tests-Suggest.yml
@@ -52,14 +52,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -81,12 +81,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git
a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml
b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml
index ba6eb31c9..ae52700a5 100644
--- a/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml
+++ b/.github/workflows/Lucene-Net-Tests-TestFramework-DependencyInjection.yml
@@ -48,14 +48,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -77,12 +77,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-TestFramework.yml
b/.github/workflows/Lucene-Net-Tests-TestFramework.yml
index 51e209760..60b8078cb 100644
--- a/.github/workflows/Lucene-Net-Tests-TestFramework.yml
+++ b/.github/workflows/Lucene-Net-Tests-TestFramework.yml
@@ -50,14 +50,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -79,12 +79,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-_A-D.yml
b/.github/workflows/Lucene-Net-Tests-_A-D.yml
index ef0efec71..6f3dfdcd5 100644
--- a/.github/workflows/Lucene-Net-Tests-_A-D.yml
+++ b/.github/workflows/Lucene-Net-Tests-_A-D.yml
@@ -59,14 +59,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -88,12 +88,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-_E-I.yml
b/.github/workflows/Lucene-Net-Tests-_E-I.yml
index 97584ea02..39c1214b5 100644
--- a/.github/workflows/Lucene-Net-Tests-_E-I.yml
+++ b/.github/workflows/Lucene-Net-Tests-_E-I.yml
@@ -69,14 +69,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -98,12 +98,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-_I-J.yml
b/.github/workflows/Lucene-Net-Tests-_I-J.yml
index a456bce1a..ce4e278b2 100644
--- a/.github/workflows/Lucene-Net-Tests-_I-J.yml
+++ b/.github/workflows/Lucene-Net-Tests-_I-J.yml
@@ -74,14 +74,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -103,12 +103,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-_J-S.yml
b/.github/workflows/Lucene-Net-Tests-_J-S.yml
index 732f365bd..68105a44b 100644
--- a/.github/workflows/Lucene-Net-Tests-_J-S.yml
+++ b/.github/workflows/Lucene-Net-Tests-_J-S.yml
@@ -61,14 +61,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -90,12 +90,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/.github/workflows/Lucene-Net-Tests-_T-Z.yml
b/.github/workflows/Lucene-Net-Tests-_T-Z.yml
index 396a6da90..4f2582063 100644
--- a/.github/workflows/Lucene-Net-Tests-_T-Z.yml
+++ b/.github/workflows/Lucene-Net-Tests-_T-Z.yml
@@ -56,14 +56,14 @@ jobs:
strategy:
fail-fast: false
matrix:
- os: [windows-latest, ubuntu-22.04]
- framework: [net8.0, net5.0, net48, net472]
+ os: [windows-latest, ubuntu-latest]
+ framework: [net8.0, net6.0, net48, net472]
platform: [x64]
configuration: [Release]
exclude:
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net48
- - os: ubuntu-22.04
+ - os: ubuntu-latest
framework: net472
- os: macos-latest
framework: net48
@@ -85,12 +85,6 @@ jobs:
echo "DOTNET_CLI_TELEMETRY_OPTOUT=1" | Out-File -FilePath
$env:GITHUB_ENV -Encoding utf8 -Append
shell: pwsh
- - name: Setup .NET 5 SDK
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '5.0.x'
- if: ${{ startswith(matrix.framework, 'net5.') }}
-
- name: Setup .NET 6 SDK
uses: actions/setup-dotnet@v3
with:
diff --git a/Directory.Build.targets b/Directory.Build.targets
index b1d0087fb..331787ecd 100644
--- a/Directory.Build.targets
+++ b/Directory.Build.targets
@@ -130,9 +130,9 @@
<DebugType>full</DebugType>
</PropertyGroup>
- <!-- Features in .NET Framework 4.5+ and .NET 6.0+ but not in .NET Standard
2.0 or .NET Standard 2.1 -->
- <!-- net472 is used to test .NET Standard 2.0, so we treat it like it is not
part of this group -->
- <PropertyGroup Condition=" ($(TargetFramework.StartsWith('net4')) And
'$(TargetFramework)' != 'net472') Or $(TargetFramework.StartsWith('net6.')) Or
$(TargetFramework.StartsWith('net7.')) Or
$(TargetFramework.StartsWith('net8.')) ">
+ <!-- Features in .NET Framework 4.5+ and .NET 8.0+ but not in .NET Standard
2.0 or .NET Standard 2.1 -->
+ <!-- net472 is used to test .NET Standard 2.0, and .NET 6.0 for .NET
Standard 2.1, so we treat them like it is not part of this group -->
+ <PropertyGroup Condition=" ($(TargetFramework.StartsWith('net4')) And
'$(TargetFramework)' != 'net472') Or $(TargetFramework.StartsWith('net8.')) Or
$(TargetFramework.StartsWith('net9.')) ">
<DefineConstants>$(DefineConstants);FEATURE_OPENNLP</DefineConstants>
diff --git a/TestTargetFramework.props b/TestTargetFramework.props
index a98107864..a37082638 100644
--- a/TestTargetFramework.props
+++ b/TestTargetFramework.props
@@ -28,7 +28,6 @@
this setting only affects the test projects. -->
<!--<TargetFramework>net472</TargetFramework>-->
<!--<TargetFramework>net48</TargetFramework>-->
- <!--<TargetFramework>net5.0</TargetFramework>-->
<!--<TargetFramework>net6.0</TargetFramework>-->
<TargetFramework>net8.0</TargetFramework>
@@ -39,13 +38,12 @@
<!-- Test Client to DLL target works as follows:
Test Client | Target Under Test
net8.0 | net8.0
- net6.0 | net6.0
- net5.0 | netstandard2.1
+ net6.0 | netstandard2.1
net48 | net462
net472 | netstandard2.0
-->
- <TargetFrameworks Condition=" '$(TestFrameworks)' == 'true'
">net8.0;net6.0;net5.0</TargetFrameworks>
+ <TargetFrameworks Condition=" '$(TestFrameworks)' == 'true'
">net8.0;net6.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(TestFrameworks)' == 'true' AND
$([MSBuild]::IsOsPlatform('Windows'))
">$(TargetFrameworks);net48;net472</TargetFrameworks>
<TargetFramework Condition=" '$(TargetFrameworks)' != ''
"></TargetFramework>
</PropertyGroup>
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index 9c8282fda..2c256a7b3 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -247,15 +247,6 @@ stages:
configration: '$(BuildConfiguration)'
platform: '$(BuildPlatform)'
- - template: '.build/azure-templates/publish-test-binaries.yml'
- parameters:
- publishDirectory: $(PublishDirectory)
- framework: 'net5.0'
- binaryArtifactName: '$(BinaryArtifactName)'
- testSettingsFilePath:
'$(Build.ArtifactStagingDirectory)/$(TestSettingsFileName)'
- configration: '$(BuildConfiguration)'
- platform: '$(BuildPlatform)'
-
- template: '.build/azure-templates/publish-test-binaries.yml'
parameters:
publishDirectory: $(PublishDirectory)
@@ -455,66 +446,6 @@ stages:
maximumAllowedFailures: $(maximumAllowedFailures)
dotNetSdkVersion: '$(DotNetSDKVersion)'
- - job: Test_net5_0_x64
- condition: and(succeeded(), ne(variables['RunTests'], 'false'))
- strategy:
- matrix:
- Windows:
- osName: 'Windows'
- imageName: 'windows-2019'
- maximumParallelJobs: 8
- maximumAllowedFailures: 0 # Maximum allowed failures for a
successful build
- Linux:
- osName: 'Linux'
- imageName: 'ubuntu-22.04' # NOTE: ubuntu-24.04 currently breaks the
.NET 5 build
- maximumParallelJobs: 7
- maximumAllowedFailures: 0 # Maximum allowed failures for a
successful build
- macOS:
- osName: 'macOS'
- imageName: 'macOS-latest'
- maximumParallelJobs: 7
- maximumAllowedFailures: 0 # Maximum allowed failures for a
successful build
- displayName: 'Test net5.0,x64 on'
- pool:
- vmImage: $(imageName)
- steps:
- - template: '.build/azure-templates/run-tests-on-os.yml'
- parameters:
- osName: $(osName)
- framework: 'net5.0'
- vsTestPlatform: 'x64'
- testBinariesArtifactName: '$(TestBinariesArtifactName)'
- nugetArtifactName: '$(NuGetArtifactName)'
- testResultsArtifactName: '$(TestResultsArtifactName)'
- maximumParallelJobs: $(maximumParallelJobs)
- maximumAllowedFailures: $(maximumAllowedFailures)
- dotNetSdkVersion: '$(DotNetSDKVersion)'
-
- - job: Test_net5_0_x86 # Only run Nightly or if explicitly enabled with
RunX86Tests
- condition: and(succeeded(), ne(variables['RunTests'], 'false'),
or(eq(variables['IsNightly'], 'true'), eq(variables['RunX86Tests'], 'true')))
- strategy:
- matrix:
- Windows:
- osName: 'Windows'
- imageName: 'windows-2019'
- maximumParallelJobs: 8
- maximumAllowedFailures: 0 # Maximum allowed failures for a
successful build
- displayName: 'Test net5.0,x86 on'
- pool:
- vmImage: $(imageName)
- steps:
- - template: '.build/azure-templates/run-tests-on-os.yml'
- parameters:
- osName: $(osName)
- framework: 'net5.0'
- vsTestPlatform: 'x86'
- testBinariesArtifactName: '$(TestBinariesArtifactName)'
- nugetArtifactName: '$(NuGetArtifactName)'
- testResultsArtifactName: '$(TestResultsArtifactName)'
- maximumParallelJobs: $(maximumParallelJobs)
- maximumAllowedFailures: $(maximumAllowedFailures)
- dotNetSdkVersion: '$(DotNetSDKVersion)'
-
- job: Test_net472_x64
condition: and(succeeded(), ne(variables['RunTests'], 'false'))
strategy:
diff --git a/src/Lucene.Net.Analysis.Common/Lucene.Net.Analysis.Common.csproj
b/src/Lucene.Net.Analysis.Common/Lucene.Net.Analysis.Common.csproj
index f832a424e..5e6cbf2fe 100644
--- a/src/Lucene.Net.Analysis.Common/Lucene.Net.Analysis.Common.csproj
+++ b/src/Lucene.Net.Analysis.Common/Lucene.Net.Analysis.Common.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Analysis.Common</AssemblyTitle>
<PackageTags>$(PackageTags);analysis</PackageTags>
diff --git
a/src/Lucene.Net.Analysis.Kuromoji/Lucene.Net.Analysis.Kuromoji.csproj
b/src/Lucene.Net.Analysis.Kuromoji/Lucene.Net.Analysis.Kuromoji.csproj
index 4d7dbd38b..dd2835a78 100644
--- a/src/Lucene.Net.Analysis.Kuromoji/Lucene.Net.Analysis.Kuromoji.csproj
+++ b/src/Lucene.Net.Analysis.Kuromoji/Lucene.Net.Analysis.Kuromoji.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Analysis.Kuromoji</AssemblyTitle>
<PackageTags>$(PackageTags);analysis;japanese</PackageTags>
diff --git
a/src/Lucene.Net.Analysis.Morfologik/Lucene.Net.Analysis.Morfologik.csproj
b/src/Lucene.Net.Analysis.Morfologik/Lucene.Net.Analysis.Morfologik.csproj
index 6c1316b3b..7a8b42948 100644
--- a/src/Lucene.Net.Analysis.Morfologik/Lucene.Net.Analysis.Morfologik.csproj
+++ b/src/Lucene.Net.Analysis.Morfologik/Lucene.Net.Analysis.Morfologik.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Analysis.Morfologik</AssemblyTitle>
<RootNamespace>Lucene.Net.Analysis</RootNamespace>
diff --git a/src/Lucene.Net.Analysis.OpenNLP/Lucene.Net.Analysis.OpenNLP.csproj
b/src/Lucene.Net.Analysis.OpenNLP/Lucene.Net.Analysis.OpenNLP.csproj
index 7ca0c855e..a7aa66886 100644
--- a/src/Lucene.Net.Analysis.OpenNLP/Lucene.Net.Analysis.OpenNLP.csproj
+++ b/src/Lucene.Net.Analysis.OpenNLP/Lucene.Net.Analysis.OpenNLP.csproj
@@ -32,7 +32,8 @@
<PropertyGroup>
<!-- Currently, IKVM doesn't officially support building NetFX on anything
but Windows, so we skip it for contributors who may be on various platforms.
We can remove the condition once that has been addressed. See:
https://github.com/ikvmnet/ikvm-maven/issues/49 -->
- <TargetFrameworks>net8.0;net6.0</TargetFrameworks>
+ <!--suppress MsbuildTargetFrameworkTagInspection - even though this only
has one target right now, we need to use the plural version for the line below
-->
+ <TargetFrameworks>net8.0</TargetFrameworks>
<TargetFrameworks
Condition="$([MSBuild]::IsOsPlatform('Windows'))">$(TargetFrameworks);net472</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Analysis.OpenNLP</AssemblyTitle>
diff --git
a/src/Lucene.Net.Analysis.Phonetic/Lucene.Net.Analysis.Phonetic.csproj
b/src/Lucene.Net.Analysis.Phonetic/Lucene.Net.Analysis.Phonetic.csproj
index 6edefcfe0..77242c0b4 100644
--- a/src/Lucene.Net.Analysis.Phonetic/Lucene.Net.Analysis.Phonetic.csproj
+++ b/src/Lucene.Net.Analysis.Phonetic/Lucene.Net.Analysis.Phonetic.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Analysis.Phonetic</AssemblyTitle>
<PackageTags>$(PackageTags);analysis;soundex;double;metaphone;sounds;like;beider;morse;cologne;caverphone;nysiis;match;rating</PackageTags>
diff --git a/src/Lucene.Net.Analysis.SmartCn/Lucene.Net.Analysis.SmartCn.csproj
b/src/Lucene.Net.Analysis.SmartCn/Lucene.Net.Analysis.SmartCn.csproj
index dc850a399..aa7eaa30b 100644
--- a/src/Lucene.Net.Analysis.SmartCn/Lucene.Net.Analysis.SmartCn.csproj
+++ b/src/Lucene.Net.Analysis.SmartCn/Lucene.Net.Analysis.SmartCn.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Analysis.SmartCn</AssemblyTitle>
<PackageTags>$(PackageTags);analysis;chinese;smart</PackageTags>
diff --git a/src/Lucene.Net.Analysis.Stempel/Lucene.Net.Analysis.Stempel.csproj
b/src/Lucene.Net.Analysis.Stempel/Lucene.Net.Analysis.Stempel.csproj
index dca9b4a6f..548b31231 100644
--- a/src/Lucene.Net.Analysis.Stempel/Lucene.Net.Analysis.Stempel.csproj
+++ b/src/Lucene.Net.Analysis.Stempel/Lucene.Net.Analysis.Stempel.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Analysis.Stempel</AssemblyTitle>
<PackageTags>$(PackageTags);analysis;polish</PackageTags>
diff --git a/src/Lucene.Net.Benchmark/Lucene.Net.Benchmark.csproj
b/src/Lucene.Net.Benchmark/Lucene.Net.Benchmark.csproj
index ac73b9893..b1d885edb 100644
--- a/src/Lucene.Net.Benchmark/Lucene.Net.Benchmark.csproj
+++ b/src/Lucene.Net.Benchmark/Lucene.Net.Benchmark.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Benchmark</AssemblyTitle>
<PackageTags>$(PackageTags);benchmark</PackageTags>
diff --git a/src/Lucene.Net.Classification/Lucene.Net.Classification.csproj
b/src/Lucene.Net.Classification/Lucene.Net.Classification.csproj
index ef3e8b72b..05906ea69 100644
--- a/src/Lucene.Net.Classification/Lucene.Net.Classification.csproj
+++ b/src/Lucene.Net.Classification/Lucene.Net.Classification.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Classification</AssemblyTitle>
<PackageTags>$(PackageTags);classification</PackageTags>
diff --git a/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj
b/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj
index 38c977d06..648d4110d 100644
--- a/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj
+++ b/src/Lucene.Net.Codecs/Lucene.Net.Codecs.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Codecs</AssemblyTitle>
<PackageTags>$(PackageTags);codec</PackageTags>
diff --git a/src/Lucene.Net.Demo/Lucene.Net.Demo.csproj
b/src/Lucene.Net.Demo/Lucene.Net.Demo.csproj
index 4c616682e..ad47ca504 100644
--- a/src/Lucene.Net.Demo/Lucene.Net.Demo.csproj
+++ b/src/Lucene.Net.Demo/Lucene.Net.Demo.csproj
@@ -24,7 +24,7 @@
<!-- Demo is deployed through the dotnet/tools/lucene-cli package -->
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Demo</AssemblyTitle>
<Description>Simple example code for the Lucene.Net full-text search
engine library from The Apache Software Foundation.</Description>
diff --git a/src/Lucene.Net.Expressions/Lucene.Net.Expressions.csproj
b/src/Lucene.Net.Expressions/Lucene.Net.Expressions.csproj
index 8c0099097..ac9bc1976 100644
--- a/src/Lucene.Net.Expressions/Lucene.Net.Expressions.csproj
+++ b/src/Lucene.Net.Expressions/Lucene.Net.Expressions.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Expressions</AssemblyTitle>
<PackageTags>$(PackageTags);expression</PackageTags>
diff --git a/src/Lucene.Net.Facet/Lucene.Net.Facet.csproj
b/src/Lucene.Net.Facet/Lucene.Net.Facet.csproj
index ec61433d6..6fbc16f18 100644
--- a/src/Lucene.Net.Facet/Lucene.Net.Facet.csproj
+++ b/src/Lucene.Net.Facet/Lucene.Net.Facet.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Facet</AssemblyTitle>
<PackageTags>$(PackageTags);facet;faceted</PackageTags>
diff --git a/src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj
b/src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj
index 1a0c3c2ad..484b6623e 100644
--- a/src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj
+++ b/src/Lucene.Net.Grouping/Lucene.Net.Grouping.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Grouping</AssemblyTitle>
<PackageTags>$(PackageTags);grouping;group</PackageTags>
diff --git a/src/Lucene.Net.Highlighter/Lucene.Net.Highlighter.csproj
b/src/Lucene.Net.Highlighter/Lucene.Net.Highlighter.csproj
index ba96f0950..a0a3cd521 100644
--- a/src/Lucene.Net.Highlighter/Lucene.Net.Highlighter.csproj
+++ b/src/Lucene.Net.Highlighter/Lucene.Net.Highlighter.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Highlighter</AssemblyTitle>
<PackageTags>$(PackageTags);highlight;highlighter</PackageTags>
diff --git a/src/Lucene.Net.Join/Lucene.Net.Join.csproj
b/src/Lucene.Net.Join/Lucene.Net.Join.csproj
index 86ba93956..c7ce018d2 100644
--- a/src/Lucene.Net.Join/Lucene.Net.Join.csproj
+++ b/src/Lucene.Net.Join/Lucene.Net.Join.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<RootNamespace>Lucene.Net.Search.Join</RootNamespace>
diff --git a/src/Lucene.Net.Memory/Lucene.Net.Memory.csproj
b/src/Lucene.Net.Memory/Lucene.Net.Memory.csproj
index 433641f02..542ce56cd 100644
--- a/src/Lucene.Net.Memory/Lucene.Net.Memory.csproj
+++ b/src/Lucene.Net.Memory/Lucene.Net.Memory.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Memory</AssemblyTitle>
<PackageTags>$(PackageTags);memory</PackageTags>
diff --git a/src/Lucene.Net.Misc/Lucene.Net.Misc.csproj
b/src/Lucene.Net.Misc/Lucene.Net.Misc.csproj
index 4aa45cc0c..ba02b925a 100644
--- a/src/Lucene.Net.Misc/Lucene.Net.Misc.csproj
+++ b/src/Lucene.Net.Misc/Lucene.Net.Misc.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Misc</AssemblyTitle>
<PackageTags>$(PackageTags);miscellaneous</PackageTags>
diff --git a/src/Lucene.Net.Queries/Lucene.Net.Queries.csproj
b/src/Lucene.Net.Queries/Lucene.Net.Queries.csproj
index d8718a3c4..d90fe17eb 100644
--- a/src/Lucene.Net.Queries/Lucene.Net.Queries.csproj
+++ b/src/Lucene.Net.Queries/Lucene.Net.Queries.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Queries</AssemblyTitle>
<PackageTags>$(PackageTags);query;queries</PackageTags>
diff --git a/src/Lucene.Net.QueryParser/Lucene.Net.QueryParser.csproj
b/src/Lucene.Net.QueryParser/Lucene.Net.QueryParser.csproj
index 9111ebd2b..33fd9085b 100644
--- a/src/Lucene.Net.QueryParser/Lucene.Net.QueryParser.csproj
+++ b/src/Lucene.Net.QueryParser/Lucene.Net.QueryParser.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<RootNamespace>Lucene.Net.QueryParsers</RootNamespace>
diff --git a/src/Lucene.Net.Replicator/Lucene.Net.Replicator.csproj
b/src/Lucene.Net.Replicator/Lucene.Net.Replicator.csproj
index 585813dcf..f125bdda5 100644
--- a/src/Lucene.Net.Replicator/Lucene.Net.Replicator.csproj
+++ b/src/Lucene.Net.Replicator/Lucene.Net.Replicator.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Replicator</AssemblyTitle>
<PackageTags>$(PackageTags);files;replication;replicate</PackageTags>
diff --git a/src/Lucene.Net.Sandbox/Lucene.Net.Sandbox.csproj
b/src/Lucene.Net.Sandbox/Lucene.Net.Sandbox.csproj
index 3dd75428c..8f59f33e1 100644
--- a/src/Lucene.Net.Sandbox/Lucene.Net.Sandbox.csproj
+++ b/src/Lucene.Net.Sandbox/Lucene.Net.Sandbox.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Sandbox</AssemblyTitle>
<PackageTags>$(PackageTags);sandbox</PackageTags>
diff --git a/src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj
b/src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj
index d65a37424..f7cd2c25d 100644
--- a/src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj
+++ b/src/Lucene.Net.Spatial/Lucene.Net.Spatial.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Spatial</AssemblyTitle>
<PackageTags>$(PackageTags);spatial;geo;geospatial;2d</PackageTags>
diff --git a/src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj
b/src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj
index 4f16d4efe..bf76f8a93 100644
--- a/src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj
+++ b/src/Lucene.Net.Suggest/Lucene.Net.Suggest.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Suggest</AssemblyTitle>
<PackageTags>$(PackageTags);suggest;suggestion</PackageTags>
diff --git a/src/Lucene.Net.TestFramework/Lucene.Net.TestFramework.csproj
b/src/Lucene.Net.TestFramework/Lucene.Net.TestFramework.csproj
index 2a9404219..d10a277d3 100644
--- a/src/Lucene.Net.TestFramework/Lucene.Net.TestFramework.csproj
+++ b/src/Lucene.Net.TestFramework/Lucene.Net.TestFramework.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.TestFramework</AssemblyTitle>
<RootNamespace>Lucene.Net</RootNamespace>
diff --git
a/src/Lucene.Net.Tests.AllProjects/Lucene.Net.Tests.AllProjects.csproj
b/src/Lucene.Net.Tests.AllProjects/Lucene.Net.Tests.AllProjects.csproj
index 8e9271378..2a8659232 100644
--- a/src/Lucene.Net.Tests.AllProjects/Lucene.Net.Tests.AllProjects.csproj
+++ b/src/Lucene.Net.Tests.AllProjects/Lucene.Net.Tests.AllProjects.csproj
@@ -118,7 +118,7 @@
</ItemGroup>
- <ItemGroup Condition=" '$(TargetFramework)' == 'net48' Or
$(TargetFramework.StartsWith('net6.')) Or
$(TargetFramework.StartsWith('net7.')) Or
$(TargetFramework.StartsWith('net8.')) ">
+ <ItemGroup Condition=" '$(TargetFramework)' == 'net48' Or
$(TargetFramework.StartsWith('net8.')) Or
$(TargetFramework.StartsWith('net9.')) ">
<ProjectReference
Include="..\Lucene.Net.Analysis.OpenNLP\Lucene.Net.Analysis.OpenNLP.csproj" />
</ItemGroup>
diff --git
a/src/Lucene.Net.Tests.Analysis.OpenNLP/Lucene.Net.Tests.Analysis.OpenNLP.csproj
b/src/Lucene.Net.Tests.Analysis.OpenNLP/Lucene.Net.Tests.Analysis.OpenNLP.csproj
index 1ebe908be..a4cf98a0c 100644
---
a/src/Lucene.Net.Tests.Analysis.OpenNLP/Lucene.Net.Tests.Analysis.OpenNLP.csproj
+++
b/src/Lucene.Net.Tests.Analysis.OpenNLP/Lucene.Net.Tests.Analysis.OpenNLP.csproj
@@ -25,7 +25,8 @@
<PropertyGroup>
<!-- Allow specific target framework to flow in from
TestTargetFrameworks.props -->
- <TargetFrameworks Condition=" '$(TargetFramework)' == ''
">net8.0;net6.0</TargetFrameworks>
+ <!--suppress MsbuildTargetFrameworkTagInspection - even though this only
has one target right now, we need to use the plural version for the line below
-->
+ <TargetFrameworks Condition=" '$(TargetFramework)' == ''
">net8.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(TargetFramework)' == '' AND
$([MSBuild]::IsOsPlatform('Windows'))
">$(TargetFrameworks);net48</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Tests.Analysis.OpenNLP</AssemblyTitle>
@@ -33,12 +34,12 @@
</PropertyGroup>
<!-- NOTE: Technically, we can test on net472, but we don't want to publish
net472 assemblies when we are testing netstandard2.0. -->
- <PropertyGroup Condition=" '$(TargetFramework)' == 'net472' Or
$(TargetFramework.StartsWith('net5.')) ">
+ <PropertyGroup Condition=" '$(TargetFramework)' == 'net472' Or
$(TargetFramework.StartsWith('net6.')) ">
<!-- For CI, we don't publish the projects and exclude them from the test
run by setting IsPublishable=false and IsTestProject=false -->
<IsPublishable>false</IsPublishable>
<IsTestProject>false</IsTestProject>
<!-- For the IDE, the above doesn't work. Redirect to a supported test
framework instead. -->
- <TargetFramework Condition=" $(TargetFramework.StartsWith('net5.'))
">net8.0</TargetFramework>
+ <TargetFramework Condition=" $(TargetFramework.StartsWith('net6.'))
">net8.0</TargetFramework>
<TargetFramework Condition=" '$(TargetFramework)' == 'net472'
">net48</TargetFramework>
</PropertyGroup>
diff --git a/src/Lucene.Net/Lucene.Net.csproj b/src/Lucene.Net/Lucene.Net.csproj
index c4c163d39..b56162e52 100644
--- a/src/Lucene.Net/Lucene.Net.csproj
+++ b/src/Lucene.Net/Lucene.Net.csproj
@@ -24,7 +24,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net</AssemblyTitle>
<Description>Lucene.Net is a full-text search engine library capable of
advanced text analysis, indexing, and searching. It can be used to easily add
search capabilities to applications. Lucene.Net is a C# port of the popular
Java Lucene search engine framework from The Apache Software Foundation,
targeted at .NET Framework and .NET Core users.</Description>
diff --git a/src/dotnet/Lucene.Net.ICU/Lucene.Net.ICU.csproj
b/src/dotnet/Lucene.Net.ICU/Lucene.Net.ICU.csproj
index c80510043..ab293e502 100644
--- a/src/dotnet/Lucene.Net.ICU/Lucene.Net.ICU.csproj
+++ b/src/dotnet/Lucene.Net.ICU/Lucene.Net.ICU.csproj
@@ -30,7 +30,7 @@
<Import Project="$(SolutionDir).build/nuget.props" />
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.ICU</AssemblyTitle>
<PackageTags>$(PackageTags);icu;international;unicode</PackageTags>
diff --git
a/src/dotnet/Lucene.Net.Replicator.AspNetCore/Lucene.Net.Replicator.AspNetCore.csproj
b/src/dotnet/Lucene.Net.Replicator.AspNetCore/Lucene.Net.Replicator.AspNetCore.csproj
index a40185d2c..cf6e04163 100644
---
a/src/dotnet/Lucene.Net.Replicator.AspNetCore/Lucene.Net.Replicator.AspNetCore.csproj
+++
b/src/dotnet/Lucene.Net.Replicator.AspNetCore/Lucene.Net.Replicator.AspNetCore.csproj
@@ -25,7 +25,7 @@
<!--<Import Project="$(SolutionDir).build/nuget.props" />-->
<PropertyGroup>
-
<TargetFrameworks>net8.0;net6.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
+
<TargetFrameworks>net8.0;netstandard2.1;netstandard2.0;net462</TargetFrameworks>
<AssemblyTitle>Lucene.Net.Replicator.AspNetCore</AssemblyTitle>
<Description>AspNetCore integration of Lucene.Net.Replicator for the
Lucene.Net full-text search engine library from The Apache Software
Foundation.</Description>