Base solution for your next web application
Open Closed

PublicKeyToken=null' does not have an implementation.' #8799


User avatar
0
crumbdav created

Im getting this error in a fresh install of aspnetzero jQuery 8.4

I tried it twice with the same errors. I believe there's a DLL conflict somewhere.

Any guidance?

Thanks,

System.TypeLoadException: 'Method 'Use' in type 'Abp.AspNetCore.Threading.HttpContextCancellationTokenProvider' from assembly 'Abp.AspNetCore, Version=5.4.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.'

This exception was originally thrown at this call stack: System.Reflection.RuntimeAssembly.GetExportedTypes() Castle.Core.Internal.ReflectionUtil.GetAvailableTypes(System.Reflection.Assembly, bool) Castle.Core.Internal.ReflectionUtil.GetAvailableTypesOrdered(System.Reflection.Assembly, bool) Castle.MicroKernel.Registration.FromAssemblyDescriptor.SelectedTypes.AnonymousMethod__5_0(System.Reflection.Assembly) System.Linq.Enumerable.SelectManySingleSelectorIterator<TSource, TResult>.MoveNext() Castle.MicroKernel.Registration.FromDescriptor.Castle.MicroKernel.Registration.IRegistration.Register(Castle.MicroKernel.IKernelInternal) Castle.MicroKernel.Registration.BasedOnDescriptor.Castle.MicroKernel.Registration.IRegistration.Register(Castle.MicroKernel.IKernelInternal) Castle.MicroKernel.DefaultKernel.Register(Castle.MicroKernel.Registration.IRegistration[]) Castle.Windsor.WindsorContainer.Register(Castle.MicroKernel.Registration.IRegistration[]) Abp.AspNetCore.AbpAspNetCoreConventionalRegistrar.RegisterAssembly(Abp.Dependency.IConventionalRegistrationContext) ... [Call Stack Truncated]


2 Answer(s)
  • User Avatar
    0
    crumbdav created

    I reinstalled wihtout updating the NuGet packages and it worked. Not sure if this is a long term solution.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    This might happen if all NuGet packages are not updated correctly.