Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3218980
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:35:28+00:00 2026-05-17T15:35:28+00:00

imagine the following scenario: Assembly Foo.dll references the ADOX-Library (Microsoft ADO Ext. 2.8 for

  • 0

imagine the following scenario:

  • Assembly “Foo.dll” references the ADOX-Library (Microsoft ADO Ext. 2.8 for DDL and Security) which was added as Interop.ADOX.dll in the bin-directory by VS 2010. “Local copy” of this reference was set to true, too.

  • Assembly “Bar.exe” references both Foo.dll and additionally the ADOX-Library because some functionality from it is needed in Bar.exe

  • Both assemblies are signed

When “Local copy” of the ADOX-reference in Bar.exe is set to true as well, MS Build generates the warning 3181 – “Two or more files have the same target path” – which makes sense.

However, when I set “Local copy” of the ADOX-reference in Bar.exe to false, it compiles fine but upon startup of the application, an error is raised saying that the assembly Interop.ADOX could not be found and that the manifest definition of the assembly doesn’t match the assembly reference.

I suppose I’m missing something rather simple here, but I was unable to solve my problem with Google. I’d be thankful for solutions or hints into the right direction 🙂

Cheers

Christian

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:35:29+00:00Added an answer on May 17, 2026 at 3:35 pm

    Not sure why the EXE project didn’t create the interop library. But punt this problem. Instead of having the EXE project reference ADO again, let it reference the interop library that was created by the DLL project.

    Not exposing the ADO types in a public class would be the better solution. ADO Ext is a utility bag, you should be able to encapsulate it well enough.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Imagine following scenario: We have a lot of parallel development going on in several
Imagine the following scenario: class MyClass extends OtherClass<String>{ String myName; //Whatever } class OtherClass<T>
Imagine the following scenario. I have a checkbox that the user can check to
Imagine the following scenario: You are asked to develop a tool from scracth, by
Imagine the following scenario. User visits a site A (ASP.NET), authenticates using ADFS and
Possible Duplicate: Does a finally block always run? let's imagine the following scenario: public
Imagine the following scenario: I have a list of Labels stored in a table
I need some help with the following scenario. Imagine a end-user receives an email
Imagine the following scenario: you have a set of RPG character spritesheets in PNG
Imagine the following scenario: I have two classes in a one-to-many relationship and I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.