When the .NET 6 and .NET 8 SDKs are both installed on the build machine, the compiler reports some code analysis issues in our .NET 6.0 code. This change fixes the errors.
Azure IoT Edge PR checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.
When the .NET 6 and .NET 8 SDKs are both installed on the build machine, the compiler reports some code analysis issues in our .NET 6.0 code. This change fixes the errors.
Azure IoT Edge PR checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines and Best Practices
Testing Guidelines