Solved

"Microsoft.mshtml": Installation Problem, File or assembly name Microsoft.mshtml, or one of its dependencies, was not found

Posted on 2007-03-27
1
236 Views
Last Modified: 2013-12-17
I wrote a c# application with Visual Studio 2003 and it uses InternetExplorer automation. For that, I reference Microsoft.mshtml in my project. On the development machine everything works well, but when I install it on another machine, i get the follwing error:

System.IO.FileNotFoundException: File or assembly name Microsoft.mshtml, or one of its dependencies, was not found. File name: "Microsoft.mshtml"

I also added a setup project to my solution, and Microsoft.mshtml.dll does show up in the Detected Dependencies. But even after installing the application with setup, the error occurs.

Any suggestions how to install the application on another machine?
0
Comment
Question by:enterprisemanager
1 Comment
 
LVL 12

Accepted Solution

by:
ShazbotOK earned 500 total points
ID: 18799588
Change the properties of the reference to the Microsoft.mshtml to "Copy Local = True"
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
I have been scripting applications way too long and can never remember how to create an ISS file.  So I decided to write this article to act as my own knowledge base for future reference, and hope you will also benefit. An ISS file is a response …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question