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.
After trying to run add-module Volo.CmsKit --with-source-code the source is not added to the current solutions under the modules folder. It adds them to the physical directory module, but not the under a solutions folder. I am also getting the following errors.
Severity Code Description Project File Line Suppression State Error CS0006 Metadata file 'C:\Repos\ProjectName\aspnet-core\modules\Volo.CmsKit\src\Volo.CmsKit.Public.HttpApi.Client\bin\Debug\netstandard2.0\Volo.CmsKit.Public.HttpApi.Client.dll' could not be found ProjectName.HttpApi.Client C:\Repos\ProjectName\aspnet-core\src\ProjectName.HttpApi.Client\CSC 1 Active
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
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?
Is it possible to create multiple public websites? We have the need to have multiple store fronts with different looks and menus using the same application backend.
No errors anywhere and 5.1.2