title: How do I use MSHTML on a machine that does not have Visual Studio installed?
body: <p>I am using mshtml to parse HTML in my ASP.NET-MVC application.  Works great on my development machine, which has VS2008 Professional installed.  Works great on my staging machine, which has VS Express 2008/WebDev installed.  But it throws a FileNotFoundException when trying to load the COM object on the production server, which has no versions of Visual Studio.</p>
  
  <blockquote>
  <pre><code>Exception type: FileNotFoundException 
      Exception message: Could not load file or assembly
  </code></pre>
    
    <p>'Microsoft.mshtml, Version=7.0.3300.0,
    Culture=neutral,
    PublicKeyToken=b03f5f7f11d50a3a' or
    one of its dependencies. The system
    cannot find the file specified.</p>
  </blockquote>
  
  <p>I don't want to install Visual Studio on the production box.  I have read a <a href="http://bytes.com/groups/net-vb/425451-assembly-reference-problem" rel="nofollow noreferrer">suggestion</a> that running C:\Program files\Common Files\Merge
  modules\vs_piaredist.exe solves this problem but this directory does not exist on my production box.  How can I use mshtml on the production machine?</p>