Circular conflict using ADOMD in Visual Studio

From: Andrew Wiles (Wiles_at_discussions.microsoft.com)
Date: 01/27/05


Date: Thu, 27 Jan 2005 03:55:03 -0800

Hi

I have a project which uses ADOMD (Version 2.8.0.0) as a reference. This
automatically includes the ADODB interop assemly as well as ADOMD.

When I build this project I am getting a warning message....

"Warning: The dependency 'Interop.ADODB, Version 2.7.0.0, Culture=neutral in
Project 'ITWOlapControls' cannot be copied to the run directory because it
would overwrite the reference 'Interop.ADODB, Version 2.8.0.0,
Culture=neutral'

Note: The reference to ADOMD 2.8 is the only reference associated with this
project.

The project will build in spite of the warning, however if the assembly
created is included as a reference in another project I get the conflicting
errors...

"Error: The dependency 'Interop.ADODB, Version 2.7.0.0, Culture=neutral in
Project 'ITWOlapControls' cannot be copied to the run directory because it
would overwrite the reference 'Interop.ADODB, Version 2.8.0.0,
Culture=neutral'

and

"Error: The dependency 'Interop.ADODB, Version 2.8.0.0, Culture=neutral in
Project 'ITWOlapControls' cannot be copied to the run directory because it
would overwrite the reference 'Interop.ADODB, Version 2.7.0.0,
Culture=neutral'

and the second project will not build.

Note: If I add the original reference as a 2.7 reference I get exactly the
same behaviour.

This is on a new PC that has been configured with windows XP + SP2, Visual
Studio .Net 2003 Enterprise, SQL Server + SP3a



Relevant Pages

  • RE: Circular conflict using ADOMD in Visual Studio
    ... DSO reference that is causing the dependency to ADODB 2.7.0.0. ... > automatically includes the ADODB interop assemly as well as ADOMD. ... > Project 'ITWOlapControls' cannot be copied to the run directory because it ...
    (microsoft.public.dotnet.framework.interop)
  • circular conflict with interop dependencies prevents build
    ... I have a project which uses ADOMD as a reference. ... would overwrite the reference 'Interop.ADODB, Version 2.8.0.0, ...
    (microsoft.public.vsnet.general)
  • Re: MDAC 2.8 Issues
    ... I have the same problem here (also installed MDAC 2.8 and am not happy with ... Does anybody know how I can reference the ADOMD 2.7 version without choosing ... >> seen several msg stating that MDAC cannot be uninstalled. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: MDAC 2.8 Issues
    ... I have the same problem here (also installed MDAC 2.8 and am not happy with ... Does anybody know how I can reference the ADOMD 2.7 version without choosing ... >> seen several msg stating that MDAC cannot be uninstalled. ...
    (microsoft.public.dotnet.framework.adonet)
  • Referencing old ADO, ADOX and ADOMD versions.
    ... I’m asking this because in the VB references windows I can’t find any ... reference to ADOX 2.7 and the reference I have to ADOMD 2.7 points to the ... same msadomd.dll that ADOMD 2.8 points. ... types about ADO, ADOX and ADOMD. ...
    (microsoft.public.data.ado)