You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2026/06/17 03:08:34 UTC

(lucenenet) branch release/4.8.0-beta00018 updated: Lucene.Net.CodeAnalysis: Added suppressions for .NET Standard 1.x warnings

This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch release/4.8.0-beta00018
in repository https://gitbox.apache.org/repos/asf/lucenenet.git


The following commit(s) were added to refs/heads/release/4.8.0-beta00018 by this push:
     new e0bb631be Lucene.Net.CodeAnalysis: Added suppressions for .NET Standard 1.x warnings
e0bb631be is described below

commit e0bb631be3d7779efc65868e81b79bcb970602ec
Author: Shad Storhaug <sh...@shadstorhaug.com>
AuthorDate: Wed Jun 17 08:03:33 2026 +0700

    Lucene.Net.CodeAnalysis: Added suppressions for .NET Standard 1.x warnings
---
 .../Lucene.Net.CodeAnalysis.CSharp.csproj                              | 3 +++
 .../Lucene.Net.CodeAnalysis.VisualBasic.csproj                         | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/src/dotnet/Lucene.Net.CodeAnalysis.CSharp/Lucene.Net.CodeAnalysis.CSharp.csproj b/src/dotnet/Lucene.Net.CodeAnalysis.CSharp/Lucene.Net.CodeAnalysis.CSharp.csproj
index a631150c1..70ac99d23 100644
--- a/src/dotnet/Lucene.Net.CodeAnalysis.CSharp/Lucene.Net.CodeAnalysis.CSharp.csproj
+++ b/src/dotnet/Lucene.Net.CodeAnalysis.CSharp/Lucene.Net.CodeAnalysis.CSharp.csproj
@@ -24,6 +24,9 @@
   <PropertyGroup>
     <TargetFramework>netstandard1.3</TargetFramework>
     <IncludeBuildOutput>false</IncludeBuildOutput>
+
+    <!-- netstandard1.3 is required for Visual Studio 2017 compatibility -->
+    <CheckNotRecommendedTargetFramework>false</CheckNotRecommendedTargetFramework>
   </PropertyGroup>
 
   
diff --git a/src/dotnet/Lucene.Net.CodeAnalysis.VisualBasic/Lucene.Net.CodeAnalysis.VisualBasic.csproj b/src/dotnet/Lucene.Net.CodeAnalysis.VisualBasic/Lucene.Net.CodeAnalysis.VisualBasic.csproj
index f76baceda..126dbdf43 100644
--- a/src/dotnet/Lucene.Net.CodeAnalysis.VisualBasic/Lucene.Net.CodeAnalysis.VisualBasic.csproj
+++ b/src/dotnet/Lucene.Net.CodeAnalysis.VisualBasic/Lucene.Net.CodeAnalysis.VisualBasic.csproj
@@ -24,6 +24,9 @@
   <PropertyGroup>
     <TargetFramework>netstandard1.3</TargetFramework>
     <IncludeBuildOutput>false</IncludeBuildOutput>
+
+    <!-- netstandard1.3 is required for Visual Studio 2017 compatibility -->
+    <CheckNotRecommendedTargetFramework>false</CheckNotRecommendedTargetFramework>
   </PropertyGroup>