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 fc50d5a320..33920cdd4a 100644
--- a/src/Lucene.Net.Analysis.OpenNLP/Lucene.Net.Analysis.OpenNLP.csproj
+++ b/src/Lucene.Net.Analysis.OpenNLP/Lucene.Net.Analysis.OpenNLP.csproj
@@ -30,7 +30,10 @@
- net6.0;net472
+
+ net6.0
+ $(TargetFrameworks);net472
Lucene.Net.Analysis.OpenNLP
$(PackageTags);analysis;natural;language;processing;opennlp