Exception after upgrade to version 3.0.0
See original GitHub issueAfter upgrade to latest version 3.0.0.0, I’m getting the following exception:
[TypeLoadException: Method ‘ExecuteActionFilterAsync’ in type ‘Abp.WebApi.Validation.AbpApiValidationFilter’ from assembly ‘Abp.Web.Api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null’ does not have an implementation.]
System.Reflection.RuntimeAssembly.GetExportedTypes(RuntimeAssembly assembly, ObjectHandleOnStack retTypes) +0
System.Reflection.RuntimeAssembly.GetExportedTypes() +31
Castle.Core.Internal.ReflectionUtil.GetAvailableTypes(Assembly assembly, Boolean includeNonExported) +46
Castle.Core.Internal.ReflectionUtil.GetAvailableTypesOrdered(Assembly assembly, Boolean includeNonExported) +15
System.Linq.<SelectManyIterator>d__172.MoveNext() +292 Castle.MicroKernel.Registration.FromDescriptor.Castle.MicroKernel.Registration.IRegistration.Register(IKernelInternal kernel) +126 Castle.MicroKernel.DefaultKernel.Register(IRegistration[] registrations) +69 Castle.Windsor.WindsorContainer.Register(IRegistration[] registrations) +46 Abp.Dependency.IocManager.RegisterAssemblyByConvention(Assembly assembly, ConventionalRegistrationConfig config) in D:\Github\aspnetboilerplate\src\Abp\Dependency\IocManager.cs:79 System.Collections.Generic.List
1.ForEach(Action`1 action) +14671646
Abp.Modules.AbpModuleManager.StartModules() in D:\Github\aspnetboilerplate\src\Abp\Modules\AbpModuleManager.cs:48
Abp.AbpBootstrapper.Initialize() in D:\Github\aspnetboilerplate\src\Abp\AbpBootstrapper.cs:152
Corgee.Web.MvcApplication.Application_Start(Object sender, EventArgs e) in D:\cgbot\Corgee Dev\Corgee\Corgee.Web\Global.asax.cs:17
[HttpException (0x80004005): Method ‘ExecuteActionFilterAsync’ in type ‘Abp.WebApi.Validation.AbpApiValidationFilter’ from assembly ‘Abp.Web.Api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null’ does not have an implementation.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +535 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +166 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +169 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +372 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +329
[HttpException (0x80004005): Method ‘ExecuteActionFilterAsync’ in type ‘Abp.WebApi.Validation.AbpApiValidationFilter’ from assembly ‘Abp.Web.Api, Version=3.0.0.0, Culture=neutral, PublicKeyToken=null’ does not have an implementation.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +525 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +118 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +708
My base framework: .Net Framework 4.6.1
Running on VS2017
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:15 (8 by maintainers)
Top GitHub Comments
Adding binding to
System.Net.Http
helps me to solve the same problem. Boilerplate version 3.4.0This is an exception we have got before. I suppose this is something related to .netstandard & .net framework rather than ABP. We solved the problem by;
And finally delete bin & obj folders of the project and re-build.