ASP.NET Core TypeLoadException with Lst<A>
See original GitHub issueHi,
First of all, thanks for your library; it’s great to write functional code with C#! Thing is, now that I’ve finished implementing the back-end of my controller, I’m starting to connect the front-end to it and it causes me some issues. I don’t wanrt to avoid using this NuGet because it looks really great, but I’d have no choice if I get resolve this! Do you have any idea of what to do here?
An unhandled exception occurred while processing the request. TypeLoadException: Could not load type ‘LanguageExt.Lst`1’ from assembly ‘LanguageExt.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=cb8021e93c7abc03’.
Raw exception details:
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Could not load type ‘LanguageExt.Lst`1’ from assembly ‘LanguageExt.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=cb8021e93c7abc03’.
Could not load type ‘LanguageExt.Lst`1’ from assembly ‘LanguageExt.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=cb8021e93c7abc03’.
Could not load type ‘LanguageExt.Lst`1’ from assembly ‘LanguageExt.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=cb8021e93c7abc03’.
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
at Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart.get_Types()
at Microsoft.AspNetCore.Mvc.Controllers.ControllerFeatureProvider.PopulateFeature(IEnumerable`1 parts, ControllerFeature feature)
at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetControllerTypes()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.BuildModel()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.GetDescriptors()
at Microsoft.AspNetCore.Mvc.Internal.ControllerActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)
at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.UpdateCollection()
at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.get_ActionDescriptors()
at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.GetTreeRouter()
at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.RouteAsync(RouteContext context)
at Microsoft.AspNetCore.Routing.RouteCollection.RouteAsync(RouteContext context)
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
System.TypeLoadException: Could not load type ‘LanguageExt.Lst`1’ from assembly ‘LanguageExt.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=cb8021e93c7abc03’.
System.TypeLoadException: Could not load type ‘LanguageExt.Lst`1’ from assembly ‘LanguageExt.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=cb8021e93c7abc03’.
System.TypeLoadException: Could not load type ‘LanguageExt.Lst`1’ from assembly ‘LanguageExt.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=cb8021e93c7abc03’.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top GitHub Comments
v3.1.18
deployed now. Should deal with this issue.Yep, looks like I screwed up. Working on a fix now.