I have this problem with the instance of the Sitecore. A made a publish from VS project with the same Sitecore.Kernel.dll and Sitecore.Mvc.Dll of the instance. After that I cann't reach anymore the login page of the site. I have searched over the internet but i didn't find any reference of this problem. Any idea?
Could not load type 'Sitecore.SecurityModel.Cryptography.IHashEncryption' from assembly 'Sitecore.Kernel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null'. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: Could not load type 'Sitecore.SecurityModel.Cryptography.IHashEncryption' from assembly 'Sitecore.Kernel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=null'.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.