diff --git a/ManualDi.Main/ManualDi.Main/Container/DiContainer.cs b/ManualDi.Main/ManualDi.Main/Container/DiContainer.cs index 27fa69f..12089ea 100644 --- a/ManualDi.Main/ManualDi.Main/Container/DiContainer.cs +++ b/ManualDi.Main/ManualDi.Main/Container/DiContainer.cs @@ -78,7 +78,7 @@ internal object ResolveBinding(TypeBinding).FullName}"); object objectInstance = instance; if (typeBinding.TypeScope is TypeScope.Single) @@ -117,7 +117,7 @@ internal object ResolveBinding(UnsafeTypeBinding typeBinding) injectedTypeBinding = typeBinding; var instance = typeBinding.CreateConcreteDelegate!.Invoke(this) ?? - throw new InvalidOperationException($"Could not create object for {GetType().FullName}"); + throw new InvalidOperationException($"Could not create object for UnsafeTypeBinding of ApparentType {typeBinding.ApparentType.FullName} and ConcreteType {typeBinding.ConcreteType.FullName}"); if (typeBinding.TypeScope is TypeScope.Single) { diff --git a/ManualDi.Main/ManualDi.Main/ManualDi.Main.csproj b/ManualDi.Main/ManualDi.Main/ManualDi.Main.csproj index d55726f..9052d29 100644 --- a/ManualDi.Main/ManualDi.Main/ManualDi.Main.csproj +++ b/ManualDi.Main/ManualDi.Main/ManualDi.Main.csproj @@ -7,7 +7,7 @@ enable ManualDi.Main ManualDi.Main - 1.6.1 + 1.6.2 Pere Viader https://github.com/PereViader/ManualDi.Main ManualDi.Main