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


##########
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:
   Since this was the only feature in this property group, I updated the 
comment to explain why we did it this way like for net472, but this property 
group will represent features that are only in .NET Framework 4.x and .NET 8+, 
as is the convention in other property groups. 



-- 
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: dev-unsubscr...@lucenenet.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to