Код: Выделить всё
System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Index not found. (0x80131124)
Index not found. (0x80131124)
Index not found. (0x80131124)
Index not found. (0x80131124)
Index not found. (0x80131124)
Index not found. (0x80131124)
at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
at System.Reflection.RuntimeAssembly.get_DefinedTypes()
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.ApplicationModels.ControllerActionDescriptorProvider.GetControllerTypes()
at Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider.GetDescriptors()
at Microsoft.AspNetCore.Mvc.ApplicationModels.ControllerActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)
at Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider.UpdateCollection()
at Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider.Initialize()
at Microsoft.AspNetCore.Mvc.Infrastructure.DefaultActionDescriptorCollectionProvider.get_ActionDescriptors()
at Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.GetTreeRouter()
at Microsoft.AspNetCore.Mvc.Routing.AttributeRoute.RouteAsync(RouteContext context)
at Microsoft.AspNetCore.Routing.RouteCollection.RouteAsync(RouteContext context)
at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
at StackExchange.Profiling.MiniProfilerMiddleware.Invoke(HttpContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 114
at StackExchange.Exceptional.ExceptionalMiddleware.Invoke(HttpContext context)
at StackExchange.Exceptional.ExceptionalMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.InvokeCore(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
System.BadImageFormatException: Index not found. (0x80131124)
System.BadImageFormatException: Index not found. (0x80131124)
System.BadImageFormatException: Index not found. (0x80131124)
System.BadImageFormatException: Index not found. (0x80131124)
System.BadImageFormatException: Index not found. (0x80131124)
System.BadImageFormatException: Index not found. (0x80131124)
У кого-нибудь есть идеи, как это происходит внезапно, без каких-либо изменений приложения или среды?< /п>
Подробнее здесь: https://stackoverflow.com/questions/786 ... ed-with-re