【发布时间】:2011-06-01 16:52:46
【问题描述】:
所以我正在开发一个 ASP.NET/C# 应用程序。它基本上是根据一些参数抓取某个网站。我打开我的项目并尝试运行它。在我尝试实际抓取我收到此错误的网站之前,它似乎工作正常:
Could not load file or assembly 'MSHTML, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
这很奇怪,因为我有一个使用相同 dll 的类似项目,但我没有任何问题。
【问题讨论】: