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
226 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Monitor input from a computer is usually nothing special.  In this instance it prevented anyone from using the computer.  This was a preconfiguration that didn't work.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now