In Move Microsoft.Extensions.ServiceDiscovery to dotnet/extensions (dotnet/extensions#6868), we moved the Microsoft.Extensions.ServiceDiscovery libraries from dotnet/aspire to dotnet/extensions. However, there are static analysis rules that are different between the two repos.
In order to get a clean move, I disabled static analysis rules that were firing.
This issue is tracking enabling these rules and making the necessary code changes the rules are alerting to.