You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project's clone of Microsoft.Extensions.Logging.LoggerFactoryExtensions collides with the one from Microsoft's package. I have code that is reflectively looking up a method in Microsft's LoggerFactoryExtensions class, but the compiler complains:
[CS0433] The type 'LoggerFactoryExtensions' exists in both 'Microsoft.Extensions.Logging.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'NHibernate.Extensions.Logging, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null'
I don't think there's anything requiring your extension method class to have the same name, nor same namespace as Microsoft's. All that matters is that the type of the this parameter be Microsoft's LoggerFactory.
The text was updated successfully, but these errors were encountered:
This project's clone of Microsoft.Extensions.Logging.LoggerFactoryExtensions collides with the one from Microsoft's package. I have code that is reflectively looking up a method in Microsft's LoggerFactoryExtensions class, but the compiler complains:
[CS0433] The type 'LoggerFactoryExtensions' exists in both 'Microsoft.Extensions.Logging.Abstractions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' and 'NHibernate.Extensions.Logging, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null'
I don't think there's anything requiring your extension method class to have the same name, nor same namespace as Microsoft's. All that matters is that the type of the this parameter be Microsoft's LoggerFactory.
The text was updated successfully, but these errors were encountered: