The attached error is encountered on re-execution of the startup script; after clicking on the restart button, upon completion of the installation of modules.
Unhandled Exception: fail: VirtoCommerce.Platform.Modules.ModuleManager[0]
Failed to load type for module VirtoCommerce.Marketing
VirtoCommerce.Platform.Core.Modularity.Exceptions.ModuleTypeLoadingException: Failed to load type for module VirtoCommer
ce.Marketing ---> VirtoCommerce.Platform.Core.Modularity.Exceptions.ModuleInitializeException: Cannot load "CsvHelper" f
or module "C:\vc-platform-3\App_Data\Modules\VirtoCommerce.MarketingModule.Web.dll".
at VirtoCommerce.Platform.Modules.LoadContextAssemblyResolver.LoadAssemblyWithReferences(String assemblyPath, Managed
AssemblyLoadContext loadContext) in c:\Projects\VirtoCommerce\vc-platform-core\VirtoCommerce.Platform.Modules\LoadContex
tAssemblyResolver.cs:line 82
at VirtoCommerce.Platform.Core.Modularity.FileModuleTypeLoader.LoadModuleType(ModuleInfo moduleInfo) in c:\Projects\V
irtoCommerce\vc-platform-core\VirtoCommerce.Platform.Core\Modularity\FileModuleTypeLoader.cs:line 130
--- End of inner exception stack trace ---
at VirtoCommerce.Platform.Modules.ModuleManager.HandleModuleTypeLoadingError(ModuleInfo moduleInfo, Exception excepti
on) in c:\Projects\VirtoCommerce\vc-platform-core\VirtoCommerce.Platform.Modules\ModuleManager.cs:line 303
at VirtoCommerce.Platform.Core.Modularity.FileModuleTypeLoader.LoadModuleType(ModuleInfo moduleInfo) in c:\Projects\V
irtoCommerce\vc-platform-core\VirtoCommerce.Platform.Core\Modularity\FileModuleTypeLoader.cs:line 143
at VirtoCommerce.Platform.Modules.ModuleManager.LoadModuleTypes(IEnumerable1 moduleInfos) in c:\Projects\VirtoCommer ce\vc-platform-core\VirtoCommerce.Platform.Modules\ModuleManager.cs:line 195 at VirtoCommerce.Platform.Modules.ServiceCollectionExtensions.AddModules(IServiceCollection services, IMvcBuilder mvc Builder, Action1 setupAction) in c:\Projects\VirtoCommerce\vc-platform-core\VirtoCommerce.Platform.Modules\Extensions\S
erviceCollectionExtensions.cs:line 36
at VirtoCommerce.Platform.Web.Startup.ConfigureServices(IServiceCollection services) in c:\Projects\VirtoCommerce\vc-
platform-core\VirtoCommerce.Platform.Web\Startup.cs:line 274
--- End of stack trace from previous location where exception was thrown ---
at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services)
at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices()
at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize()
at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build()
at VirtoCommerce.Platform.Web.Program.Main(String[] args) in c:\Projects\VirtoCommerce\vc-platform-core\VirtoCommerce
.Platform.Web\Program.cs:line 11
`
The attached error is encountered on re-execution of the startup script; after clicking on the restart button, upon completion of the installation of modules.
` C:\vc-platform-3>dotnet.exe C:\vc-platform-3\VirtoCommerce.Platform.Web.dll
Unhandled Exception: fail: VirtoCommerce.Platform.Modules.ModuleManager[0] Failed to load type for module VirtoCommerce.Marketing VirtoCommerce.Platform.Core.Modularity.Exceptions.ModuleTypeLoadingException: Failed to load type for module VirtoCommer ce.Marketing ---> VirtoCommerce.Platform.Core.Modularity.Exceptions.ModuleInitializeException: Cannot load "CsvHelper" f or module "C:\vc-platform-3\App_Data\Modules\VirtoCommerce.MarketingModule.Web.dll". at VirtoCommerce.Platform.Modules.LoadContextAssemblyResolver.LoadAssemblyWithReferences(String assemblyPath, Managed AssemblyLoadContext loadContext) in c:\Projects\VirtoCommerce\vc-platform-core\VirtoCommerce.Platform.Modules\LoadContex tAssemblyResolver.cs:line 82 at VirtoCommerce.Platform.Core.Modularity.FileModuleTypeLoader.LoadModuleType(ModuleInfo moduleInfo) in c:\Projects\V irtoCommerce\vc-platform-core\VirtoCommerce.Platform.Core\Modularity\FileModuleTypeLoader.cs:line 130 --- End of inner exception stack trace --- at VirtoCommerce.Platform.Modules.ModuleManager.HandleModuleTypeLoadingError(ModuleInfo moduleInfo, Exception excepti on) in c:\Projects\VirtoCommerce\vc-platform-core\VirtoCommerce.Platform.Modules\ModuleManager.cs:line 303 at VirtoCommerce.Platform.Core.Modularity.FileModuleTypeLoader.LoadModuleType(ModuleInfo moduleInfo) in c:\Projects\V irtoCommerce\vc-platform-core\VirtoCommerce.Platform.Core\Modularity\FileModuleTypeLoader.cs:line 143 at VirtoCommerce.Platform.Modules.ModuleManager.LoadModuleTypes(IEnumerable
1 moduleInfos) in c:\Projects\VirtoCommer ce\vc-platform-core\VirtoCommerce.Platform.Modules\ModuleManager.cs:line 195 at VirtoCommerce.Platform.Modules.ServiceCollectionExtensions.AddModules(IServiceCollection services, IMvcBuilder mvc Builder, Action
1 setupAction) in c:\Projects\VirtoCommerce\vc-platform-core\VirtoCommerce.Platform.Modules\Extensions\S erviceCollectionExtensions.cs:line 36 at VirtoCommerce.Platform.Web.Startup.ConfigureServices(IServiceCollection services) in c:\Projects\VirtoCommerce\vc- platform-core\VirtoCommerce.Platform.Web\Startup.cs:line 274 --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Hosting.ConventionBasedStartup.ConfigureServices(IServiceCollection services) at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureApplicationServices() at Microsoft.AspNetCore.Hosting.Internal.WebHost.Initialize() at Microsoft.AspNetCore.Hosting.WebHostBuilder.Build() at VirtoCommerce.Platform.Web.Program.Main(String[] args) in c:\Projects\VirtoCommerce\vc-platform-core\VirtoCommerce .Platform.Web\Program.cs:line 11 `