For which ui are you getting these errors?
The Admin UI
Hi scott, The Admin UI means Razor/MVC or AngularUI ?
Razor/MVC
After upgrading from 7.0.1 to 7.2.2 getting the following build errors, after cleaning up known issues. All errors are coming from the Chart.js directory.
Did you run the command
abp install-libs
? https://docs.abp.io/en/abp/latest/CLI#install-libs
I believe the problem is with the @abp/chart.js@7.2.2 package. Using @node_modules/chart.js/dist/. not including the directories.
For which ui are you getting these errors?
The Admin UI
Yes and it didn't work.
Baytech,
Unfortunately, the docs are not up to date. Under the IdentityServer Configuration and Updating Gateways section there are multiple steps that are not applicable to version 6, just to start.
ABP when will the documents be updated and accurate?
I am having the same issue.
abp new MySolution -t microservice-pro -u mvc Followed instructions for running app - Works great abp new CategoryService -t microservice-service-pro Followed instructions to add new microservice - Feels like steps are missing Use ABP Suite to add Entity From there all sorts of issues were found. Not all the files were created Had to run the following to get scripts to generate abp generate-proxy -t csharp -u https://localhost:44948 -m CategoryService
abp generate-proxy -t js -u https://localhost:44948 -m CategoryService
Unabled to add new entries into new enitity get the following error.
I resolved by making sure all the package references where updated.
Here is the complete error message.
2022-05-21 16:55:47.251 -07:00 [INF] Starting web host.
2022-05-21 16:56:05.366 -07:00 [FTL] Host terminated unexpectedly!
System.IO.FileNotFoundException: Could not load file or assembly 'Volo.CmsKit.Admin.Application.Contracts, Version=5.2.2.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'Volo.CmsKit.Admin.Application.Contracts, Version=5.2.2.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, ListBuilder
1 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)
at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List1 moduleTypes, Type moduleType, ILogger logger, Int32 depth) at Volo.Abp.Modularity.AbpModuleHelper.AddModuleAndDependenciesRecursively(List
1 moduleTypes, Type moduleType, ILogger logger, Int32 depth)
at Volo.Abp.Modularity.AbpModuleHelper.FindAllModuleTypes(Type startupModuleType, ILogger logger)
at Volo.Abp.Modularity.ModuleLoader.FillModules(List1 modules, IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.GetDescriptors(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.Modularity.ModuleLoader.LoadModules(IServiceCollection services, Type startupModuleType, PlugInSourceList plugInSources) at Volo.Abp.AbpApplicationBase.LoadModules(IServiceCollection services, AbpApplicationCreationOptions options) at Volo.Abp.AbpApplicationBase..ctor(Type startupModuleType, IServiceCollection services, Action
1 optionsAction)
at Volo.Abp.AbpApplicationWithExternalServiceProvider..ctor(Type startupModuleType, IServiceCollection services, Action1 optionsAction) at Volo.Abp.AbpApplicationFactory.Create(Type startupModuleType, IServiceCollection services, Action
1 optionsAction)
at Volo.Abp.AbpApplicationFactory.CreateAsync[TStartupModule](IServiceCollection services, Action1 optionsAction) at Microsoft.Extensions.DependencyInjection.ServiceCollectionApplicationExtensions.AddApplicationAsync[TStartupModule](IServiceCollection services, Action
1 optionsAction)
at Microsoft.Extensions.DependencyInjection.WebApplicationBuilderExtensions.AddApplicationAsync[TStartupModule](WebApplicationBuilder builder, Action`1 optionsAction)
at ProjectName.Web.Program.Main(String[] args) in C:\Repos\ProjectName\aspnet-core\src\ProjectName.Web\Program.cs:line 38
I was able to run "abp add-module Volo.CmsKit --with-source-code --add-to-solution-file" to get the source added to the solutions. Now I am getting a new error.
System.IO.FileNotFoundException: Could not load file or assembly 'Volo.CmsKit.Admin.Application.Contracts
I have verified that the project exists.