NightOwl888 commented on issue #1037:
URL: https://github.com/apache/lucenenet/issues/1037#issuecomment-2491743622

   Right. These code analyzers are to support IDEs as well as MSBuild, so they 
should have broad support. The reason why we downgraded to `netstandard1.3` was 
to support VS2017 (something Microsoft needed). I am not sure whether that is 
still the case. But I also don't see any real need to change it. We can test 
netstandard1.3 with the latest .NET core and always keep it up to date. So, 
perhaps it would be better to suppress the warning on these projects.
   
   We have several open tasks that involve making new code analyzers, but for 
those we will need a separate assembly. The existing analyzers are specifically 
for end users and we will need a different assembly for supporting Lucene.NET 
development. I was originally thinking of making an installer for the 
development analyzers, but it makes more sense to version it and put it on 
NuGet. It can then be a dependency of all Lucene.Net projects declared as 
`PrivateAssets=analyzers`. Ideally, we would create a different repo (similar 
to lucenenet-site) where it is developed and versioned, since it will have a 
different release schedule than Lucene.NET. I created a repo here: 
https://github.com/NightOwl888/lucenenet-codeanalysis-dev. But some of those 
analyzers probably shouldn't be enabled by default. It is named that way to be 
migrated to Apache. But, maybe we shouldn't because then we would have to 
comply with their release policy (having a release vote) for things that we 
need to develop
  Lucene.NET.
   
   


-- 
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