I have a C# solution that makes use of Smith Html Editor (I\'m developing on the main project which uses this, so I don\'t know much about this library), which makes a refer
In case if all of the above failed to work for you, here's my solution which is different to the above and it worked for me:
I registered the microsoft.mshtml.dll in the global assembly cache.
Here is the solution:
Step 1: Open the Developer Command Prompt by typing dev in your windows 10 search box and right click the Developer Command Prompt for VSxxxx and run as administrator
Step 2: Navigate to your microsoft.mshtml.dll library. In my case:
CD C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\PublicAssemblies>
Step 3 Run the following command to register in the global assembly cache:
gacutil -i Microsoft.mshtml.dll
For more information visit this web article: https://docs.microsoft.com/en-us/dotnet/framework/app-domains/how-to-install-an-assembly-into-the-gac