The type initializer for 'DotNetty.Transport.Bootstrapping.Bootstrap' threw an exception
- Dominant language
- C#
- Stars
- 4.3k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
We have a dependency on MicrosoftExtensionsLoggingVersion and noticed BootStrap exception during build as below:
{"The type initializer for 'DotNetty.Transport.Bootstrapping.Bootstrap' threw an exception."}
+ InnerException {"Could not load file or assembly 'Microsoft.Extensions.Logging.Abstractions, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The system cannot find the file specified.":"Microsoft.Extensions.Logging.Abstractions, Version=1.1.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60"} System.Exception {System.IO.FileNotFoundException}
From dependency.version.props:
MicrosoftExtensionsLoggingVersion 2.2.0 /MicrosoftExtensionsLoggingVersion
Currently we have updated version to older release and added reference to MicrosoftExtensionsLoggingAbstractionsVersion as a temporary fix to unblock:
MicrosoftExtensionsLoggingVersion 1.1.1 /MicrosoftExtensionsLoggingVersion
MicrosoftExtensionsLoggingAbstractionsVersion 1.1.1 /MicrosoftExtensionsLoggingAbstractionsVersion
What is the right solution for the bootstrap exception with latest version of MicrosoftExtensionsLoggingVersion?
Contributor guide
Assessment
This issue has not been assessed yet.