NightOwl888 commented on code in PR #1039:
URL: https://github.com/apache/lucenenet/pull/1039#discussion_r1852272667


##########
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 -->
+  <!-- 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, 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.')) ">
+  <PropertyGroup Condition=" ($(TargetFramework.StartsWith('net4')) And 
'$(TargetFramework)' != 'net472') Or $(TargetFramework.StartsWith('net8.')) Or 
$(TargetFramework.StartsWith('net9.'))  ">

Review Comment:
   I see. I guess just drop the `net6.0` target and add a comment to indicate 
that it belongs to this group but is used to test .NET Standard the same way we 
did for `net472`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to