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
In different applications when using kernel.Load(AppDomain.CurrentDomain.GetAssemblies()); receiving an error: The invoked member is not supported in a dynamic assembly.
Detailed string:
Type = System.NotSupportedException
Message = The invoked member is not supported in a dynamic assembly.
Source = mscorlib
TargetSite = System.Type[] GetExportedTypes()
StackTrace = at System.Reflection.Emit.InternalAssemblyBuilder.GetExportedTypes()
at Ninject.Infrastructure.Language.ExtensionsForAssembly.GetNinjectModules(Assembly assembly)
at Ninject.KernelBase.b__2(Assembly asm)
at System.Linq.Enumerable.d__162.MoveNext() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at Ninject.KernelBase.Load(IEnumerable1 m) at Ninject.KernelBase.Load(IEnumerable1 assemblies)
at Dolphin.Host.Startup.CreateKernel() in .....
HResult = -2146233067
The text was updated successfully, but these errors were encountered:
In different applications when using
kernel.Load(AppDomain.CurrentDomain.GetAssemblies());
receiving an error: The invoked member is not supported in a dynamic assembly.Detailed string:
Type = System.NotSupportedException
Message = The invoked member is not supported in a dynamic assembly.
Source = mscorlib
TargetSite = System.Type[] GetExportedTypes()
StackTrace = at System.Reflection.Emit.InternalAssemblyBuilder.GetExportedTypes()
at Ninject.Infrastructure.Language.ExtensionsForAssembly.GetNinjectModules(Assembly assembly)
at Ninject.KernelBase.b__2(Assembly asm)
at System.Linq.Enumerable.d__16
2.MoveNext() at System.Collections.Generic.List
1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source)at Ninject.KernelBase.Load(IEnumerable
1 m) at Ninject.KernelBase.Load(IEnumerable
1 assemblies)at Dolphin.Host.Startup.CreateKernel() in .....
HResult = -2146233067
The text was updated successfully, but these errors were encountered: