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.
I am trying to run the DbMigrator project like normal. This is showing up after removing an attempt to run abp add-module Volo.CmsKit --with-source-code. I did a git reset --hard and now getting the above errors.
So, you are referring to something you cannot provide a link for? Since this is not an acceptable answer, can I get a credit for my support use?
Link to documentation?
No errors anywhere and 5.1.2