Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

1
2
3
'MSXML2.DOMDocument.parseError' hides inherited member 'MSXML2.IXMLDOMDocument.parseError'.
'ADODB.Connection.ConnectionString' hides inherited member 'ADODB.Connection15.ConnectionString'
'ADODB.Recordset.BOF' hides inherited member 'ADODB.Recordset15.BOF'.

 

The problem has to be dealt with within the sqldmo.dll.xml file itself. To drastically change how we stub the common-used dll is not feasible.

In order to correct, the matter, you must manually remove references to ident2 coclasses from the idf and add the following TypeDef statements:

 

1
2
3
4
<typedef id="Database2" type="Database" />
<typedef id="Index2" type="Index" />
<typedef id="Table2" type="Table" />
<typedef id="SQLServer2" type="SqlServer" />

 

This problem also occurs with the web browser control (ieframe.dll).  for example, the following types of errors are reported:

Code Block
ERRNUM: CS0234: The type or namespace name 'DWebBrowserEvents2_DocumentCompleteEvent' does not exist in the namespace 'SHDocVw'.
NETSRC: frmAppConsole.cs@1427
private void wbMain_DocumentComplete(object sender, SHDocVw.DWebBrowserEvents2_DocumentCompleteEvent e)

I corrected by replacing the versioned coclasses with typedefs.