Could not load file or assembly ' System.core, version=2.0.5.0 and AUTOFAC conflict issues
Source: http://www.cnblogs.com/yelaiju/p/3375168.html
This situation occurs when you deploy to IIS.
FIX: Download install this patch
http://support.microsoft.com/kb/2468871
http://www.microsoft.com/zh-cn/download/confirmation.aspx?id=3556
Http://download.microsoft.com/download/2/B/F/2BF4D7D1-E781-4EE0-9E4F-FDD44A2F8934/NDP40-KB2468871-v2-IA64.exe
See information:
Http://bbs.csdn.net/topics/390581883?page=1#post-395817004http://code.google.com/p/autofac/wiki/FrequentlyAskedQuestions
Failed to load file or assembly "System.core, version=2.0.5.0, Culture=neutral, publickeytoken=7cec85d7bea7798e, Retargetable=yes" Or one of its dependencies. The given assembly name or base code is invalid. (Exception from hresult:0x80131047)
Description: An unhandled exception occurred during the execution of the current WEB request. Check the stack trace information For more information about the error and the source of the error in your code.
Could not load file or assembly ' System.core, version=2.0.5.0, Culture=neutral, publickeytoken=7cec85d7bea7798e, Retargetable=yes ' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from hresult:0x80131047)
Description:An unhandled exception occurred during, the execution of the current Web request. Review the stack trace for more information about the error and where it is originated in the code.
Exception Details:System.IO.FileLoadException:Could not load file or assembly ' System.core, version=2.0.5.0, Culture=neutral, publickeytoken=7cec85d7bea7798e, Retargetable=yes ' or one of its dependencies. The given assembly name or codebase was invalid. (Exception from hresult:0x80131047)
Make sure your. NET framework is patched.Microsoft released patches to. NET to allow portable Class Libraries to properly find the appropriate runtime (KB2468871). If you're seeing the above exception (or something like it), it means you ' re missing the latest. NET Framework patches.
Go Could not load file or assembly ' System.core, version=2.0.5.0 and AUTOFAC conflict issues