diff --git a/src/Umbraco.Core/BindingRedirects.cs b/src/Umbraco.Core/BindingRedirects.cs
index a93485085e..17e187b7ae 100644
--- a/src/Umbraco.Core/BindingRedirects.cs
+++ b/src/Umbraco.Core/BindingRedirects.cs
@@ -18,10 +18,7 @@ namespace Umbraco.Core
// this only gets called when an assembly can't be resolved
AppDomain.CurrentDomain.AssemblyResolve += CurrentDomain_AssemblyResolve;
}
-
- private static readonly Regex Log4NetAssemblyPattern = new Regex("log4net, Version=([\\d\\.]+?), Culture=neutral, PublicKeyToken=\\w+$", RegexOptions.Compiled);
- private const string Log4NetReplacement = "log4net, Version=2.0.8.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a";
-
+
///
/// This is used to do an assembly binding redirect via code - normally required due to signature changes in assemblies
///
@@ -30,12 +27,6 @@ namespace Umbraco.Core
///
private static Assembly CurrentDomain_AssemblyResolve(object sender, ResolveEventArgs args)
{
- //log4net:
- if (Log4NetAssemblyPattern.IsMatch(args.Name) && args.Name != Log4NetReplacement)
- {
- return Assembly.Load(Log4NetAssemblyPattern.Replace(args.Name, Log4NetReplacement));
- }
-
//AutoMapper:
// ensure the assembly is indeed AutoMapper and that the PublicKeyToken is null before trying to Load again
// do NOT just replace this with 'return Assembly', as it will cause an infinite loop -> stackoverflow