Hi all,
on my development environment I have a site running in version 4.40.4 from the "nopCommerce_4.40.4_NoSource_win_x64.zip" file.
On the same machine I have VS 2022 with the source version from the file "nopCommerce_4.40.4_Source.zip".
I want to do some debugging/minor change in noCommerce so I published from Visual Studio to a separate folder and used the Release configuration with the .NET 5.0 target framework and the win-x64 runtime.
From the publish-folder I only copied some of the nopCommerce .dll's to my running development site. After restarting .NET Core app failed to start and in the event-viewer I see messages like "PublicKeyToken=null' is not compatible with base type method 'Nop.Web.Framework.Models.BaseNopEntityModel.<Clone>$()'."
This looks like to me like there is some kind of version difference between the initial version that I used from the no source-win-x64.zip and my published version, which is also the win-x64 version.
Has anyone encountered this behaviour before and a way to solve this? I might be overlooking something.