Evidently on AppDomain.CurrentDomain.GetAssemblies() can return assemblies that are not available in some scenarios (on .NET Core) which causes assembly.GetTypes(); to throw an exception. Rather than abort, we should just continue the search over all the assemblies that are available.
This is being hit when Confluent.Kafka.Avro is used in the dotnet test framework. This PR will resolve that issue.
Evidently on
AppDomain.CurrentDomain.GetAssemblies()
can return assemblies that are not available in some scenarios (on .NET Core) which causesassembly.GetTypes();
to throw an exception. Rather than abort, we should just continue the search over all the assemblies that are available.This is being hit when Confluent.Kafka.Avro is used in the dotnet test framework. This PR will resolve that issue.