.net core odp.net The type initializer for 'OracleInternal.Network.AddressResolution' threw an excep

.net core通过 Oracle.ManagedDataAccess.Core odp.net连接oracle时 报The type initializer for 'OracleInternal.Network.AddressResolution' threw an exception.错误

.net core odp.net The type initializer for 'OracleInternal.Network.AddressResolution' threw an excep

解决方式: 删除系统环境变量中的 tns_admin 变量解决

.net core odp.net The type initializer for 'OracleInternal.Network.AddressResolution' threw an excep