C# 找不到元数据文件System.dll

C# 找不到元数据文件System.dll,c#,asp.net,sitecore,C#,Asp.net,Sitecore,在升级到9.3时尝试访问Sitecore后端时,我遇到以下错误: Metadata file 'C:\...\bin\System.dll' could not be found 我检查了GAC,它就在那里。 当我尝试将dll复制到bin文件夹(从C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System\v4.0_4.0.0.0_b77a5c561934e089)时,出现以下错误: An assembly with the same identity

在升级到9.3时尝试访问Sitecore后端时,我遇到以下错误:

Metadata file 'C:\...\bin\System.dll' could not be found
我检查了GAC,它就在那里。 当我尝试将dll复制到bin文件夹(从C:\Windows\Microsoft.NET\assembly\GAC_MSIL\System\v4.0_4.0.0.0_b77a5c561934e089)时,出现以下错误:

An assembly with the same identity 'System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' has already been imported. Try removing one of the duplicate references.
我已经尝试过修复我的.NET framework安装,清理和重建/重新发布也没有帮助


有人知道我遗漏了什么吗?

这可能是因为您可能已经导入了两次相应的程序集

检查bin文件夹下是否有system.dll,如果找到,请将其删除


我还在粘贴asp.net论坛上的文章,从中我得到了一个想法:

bin文件夹中没有System.dll。我还检查了一个vanilla Sitecore 9.3安装,它的bin文件夹中也不包含System.dll。也许可以尝试搜索System.dll的整个解决方案,我打赌它将从2个或更多项目中引用。同时检查以下答案:是的,已经试过了。问题是System.dll本身没有在任何地方引用。谢谢你的帮助!我会再搜索一点,如果我找到什么我会告诉你的。有什么消息吗?