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
The method (ConfigurationReader.FindConfigurationExtensionMethods) should not rely on specific ExtensionAttribute type present in System.Runtime.dll, but rather on any type with matching name.
The attribute can be polyfilled in any assembly to enable extension method support.
In one (my) case this attribute is implemented in nunit.engine.core assembly which leads Serilog to not recognize extension methods when running tests using e.g. nunit3-console.
Happy to provide a PR.
The text was updated successfully, but these errors were encountered:
The method (
ConfigurationReader.FindConfigurationExtensionMethods
) should not rely on specificExtensionAttribute
type present inSystem.Runtime.dll
, but rather on any type with matching name.The attribute can be polyfilled in any assembly to enable extension method support.
In one (my) case this attribute is implemented in
nunit.engine.core
assembly which leads Serilog to not recognize extension methods when running tests using e.g. nunit3-console.Happy to provide a PR.
The text was updated successfully, but these errors were encountered: