【发布时间】:2017-03-17 09:22:59
【问题描述】:
我有一个使用一些自定义的 C# 应用程序,比如说 some.dll,而 dll 引用了“System.ComponentModel.Composition.dll”。在我重建 some.dll 并将其替换为系统中的原始 dll 之前,该应用程序运行良好。
现在,当我尝试启动应用程序时,出现错误“异常 ::Could not load file or assembly 'System.ComponentModel.Composition.resources, Version=4.0.0.0, Culture=en-NZ, PublicKeyToken=b77a5c561934e089 ' 或其依赖项之一。系统找不到指定的文件"
即使我将新的 dll 替换为原始的,错误仍然存在。
我怀疑 System.ComponentModel.Composition.dll 已取消注册。谁能解释一下可能是什么问题?
【问题讨论】: