Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 12

Accepted Solution

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

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

636 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