How to reference MSHTML library from C#

This is another typical Microsoft-based development issue. Everyone is writing tutorials and omitting what references need to be set to make the tutorial code work.

Anyway, if you're looking for the MSHTML library, it's a COM reference and it's actually named "Microsoft HTML object library". You need to put using mshtml; in your project to be able to reference it.



Leave a Reply