title: Com Interop w/ MSXML
body: <p>I'm trying to COM interop w/ Navision through a .Net assembly - and specifically using MSXML interfaces. This leads to the following error message:</p>
  
  <p>The assembly "C:\Users\bra\Documents\Visual Studio 2008\Projects\SOAPROXY\SOAPROXY\bin\Release\SOAPROXY.dll" could not be converted to a type library. Type library exporter encountered an error while processing 'SOAPROXY.ISoap.PostEnvelope(#0), SOAPROXY'. Error: Type library exporter cannot load type 'MSXML2.IXMLDOMDocument' (error: System.IO.FileNotFoundException: Could not load file or assembly 'Interop.MSXML2, Version=6.0.0.0, Culture=neutral, PublicKeyToken=fbdb4bb4a7dccef2' or one of its dependencies. The system cannot find the file specified. File name: 'Interop.MSXML2, Version=6.0.0.0, Culture=neutral, PublicKeyToken=fbdb4bb4a7dccef2'). SOAPROXY</p>
  
  <p>The basic interface is defined as</p>
  
  <pre><code>[Guid("some guid")]
  [ComVisible(true)]
  public interface ISoap
  {
      IStatus State { get; }
  
      IXMLDOMDocument PostEnvelope(IXMLDOMDocument envelope, string action, string endpoint, string print, string store, string location);
  }
  
  [ClassInterface(ClassInterfaceType.None)]
  [ComVisible(true)]
  public class Soap : ISoap
  {
       ...
  }
  </code></pre>
  
  <p>Any clues?</p>