- ABP Framework version: v7.1.0
- UI type: MVC
- DB provider: EF Core / PostgreSQL
- Tiered (MVC) or Identity Server Separated (Angular): Tiered
I get the below error when trying to run my solution's Auth and Web projects. No coding change have been code since the last time it worked. We are a commercial user and have full source code.
Ssystem.IO.FileNotFoundException: Could not load file or assembly 'Volo.Abp.Core, Version=7.1.1.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Volo.Abp.Core, Version=7.1.1.0, Culture=neutral, PublicKeyToken=null'
at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder1 derivedAttributes)
at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeType type, RuntimeType caType, Boolean inherit)
at System.Attribute.GetCustomAttributes(MemberInfo element, Boolean inherit)
at Volo.Abp.Modularity.AbpModuleHelper.FindDependedModuleTypes(Type moduleType) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\AbpModuleHelper.cs:line 25
at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List1 moduleTypes, Type moduleType, ILogger logger, Int32 depth) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\AbpModuleHelper.cs:line 56 at Volo.Abp.Modularity.AbpModuleHelper.FindAllModuleTypes(Type startupModuleType, ILogger logger) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\AbpModuleHelper.cs:line 15 at Volo.Abp.Modularity.ModuleLoader.FillModules(List1 modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\ModuleLoader.cs:line 49
at Volo.Abp.Modularity.ModuleLoader.GetDescriptors(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\ModuleLoader.cs:line 34
at Volo.Abp.Modularity.ModuleLoader.LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\Modularity\ModuleLoader.cs:line 20
at Volo.Abp.AbpApplicationBase.LoadModules(IServiceCollection services, AbpApplicationCreationOptions options) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationBase.cs:line 144
at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationBase.cs:line 63 at Volo.Abp.AbpApplicationWithExternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationWithExternalServiceProvider.cs:line 14
at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, IServiceCollection services, Action1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationFactory.cs:line 92 at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Volo\Abp\AbpApplicationFactory.cs:line 42
at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.Core\Microsoft\Extensions\DependencyInjection\ServiceCollectionApplicationExtensions.cs:line 32 at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action1 optionsAction) in C:\src710\StructureCloud.NET\ABP\framework\src\Volo.Abp.AspNetCore\Microsoft\Extensions\DependencyInjection\WebApplicationBuilderExtensions.cs:line 17
at CFData.StructureWeb.Program.Main(String[] args) in C:\src710\StructureCloud.NET\aspnet-core\src\StructureWeb.AuthServer\Program.cs:line 43
4 Answer(s)
- 
    0hi What's your LeptonX package version? How can I check your solution? Is it possible to share code? 
- 
    0Hi, Below is the package reference to LeptonX. Not possible to share the code as the project is too large. As stated no coding changes have happened. It simply worked one day and now doesn't run. <PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.1.*-*" />
- 
    0hi Try to use 2.1.0<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.1.0" />
- 
    0That worked. Thanks. 
 
                                