开发者

Could not load file or assembly 'MSHTML, Version=4.0.0.0,

开发者 https://www.devze.com 2023-03-10 00:01 出处:网络
So I am working on a ASP.NET/C# application. It basically scrapes a certain website based on some parameters. I open my project and try to run it. It seems to work fin开发者_运维百科e until I try to a

So I am working on a ASP.NET/C# application. It basically scrapes a certain website based on some parameters. I open my project and try to run it. It seems to work fin开发者_运维百科e until I try to actually scrape the site I get this error:

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.

Which is weird because I have a similar project using the same dll's and no I have no problems.


So I removed the reference to the DLL and added again. It seems to be working now.

0

精彩评论

暂无评论...
验证码 换一张
取 消