After post new Nop.Web.exe at server getting the bellow error.(Nopcommerce4)

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 anni tempo fa
Please help me, I am getting bellow error after replacing old one by new one.

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'Microsoft.AspNetCore.Hosting.Abstractions, Version=2.0.1.0, Culture=neutral, PublicKeyToken=adb9793829ddae60' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
   at Nop.Web.Program.Main(String[] args)
6 anni tempo fa
I assume that there are some dependency mismatch. I mean your new Nop.Web.exe need the "Microsoft.AspNetCore.Hosting.Abstractions, Version=2.0.1.0" version where as the existing is not same.

So first publish your nopcommerce4 application and deploy the newly published resources to the server. Before that you can clear "Package Cache" from C:\ProgramData\Package Cache.
6 anni tempo fa
Thanks a lot. it's working :)
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.