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
224 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
Comment Utility
Change the properties of the reference to the Microsoft.mshtml to "Copy Local = True"
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

The object model of .Net can be overwhelming at times – so overwhelming that quite trivial tasks often take hours of research. In this case, the task at hand was to populate the datagrid from SQL Server database in Visual Studio 2008 Windows applica…
Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

772 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

14 Experts available now in Live!

Get 1:1 Help Now