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 8356713
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T10:16:06+00:00 2026-06-09T10:16:06+00:00

I have following scenario, Project A is refering A1 and A2 DLLs. Proj A

  • 0

I have following scenario, Project A is refering A1 and A2 DLLs. Proj A is an library project, containing some common Data releted functionality, which can be used across all the application. Project B in solution X and the Project C in solution Y are dependent on Project A for using its Data related functionality. Now I have following options.

Option 1:

Add project A in Both the solutions X and Y and let the projects B and C in the respective solutions add project A as an “project Reference”, this will copy A.dll, A1.dll and A2.dll in the bin folder of project B and C automatically.

Pros:

  1. If I change anything in Proj A, it will get reflected automatically in Proj B and C.
  2. As I mentioned, it will copy not only A.dll but A1.dll and A2.dll in the bin folder of Proj B and Proj C.

Cons:

  1. If i change the location of Proj A, then i need to fix this in Both the solution and need to build all the solutions which are using Proj A as an project Reference.

Option 2:

Create a seperate central solution which include all the common library project. Create a project CommonLib add to that all the library projects as an project Reference, so that the CommonLib is referencing Proj A as an project reference. This will copy A.dll , A1.dll and A2.dll in the bin folder of CommonLib project. Now project B and C in solution X and Y need to refer the A.dll from the bin folder of project CommonLib.

Pros:

  1. Change in location of proj A will not impact fixing Sol X and Y, as you need to fix at only one single place that is the CommnLib solution.

Cons:

  1. If you refer A.dll from the commonlib bin folder, in the proj B, then it does not automatically copy A1.dll and A2.dll in the bin folder of proj B. So you never come to know what are all DLLs proj A is dependent on.

Why doesnt when i refer A.dll from the bin folder of CommonLib project, doesnt include A1.dll and A2.dll ? Any solution for this.

[Note: I dont want to use GAC]

  • 1 1 Answer
  • 0 Views
  • 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-06-09T10:16:07+00:00Added an answer on June 9, 2026 at 10:16 am

    The option 1 is the best option 2 is not best

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

Sidebar

Related Questions

I have the following scenario (C#, WinForms). I have some kind of project file
Is there a naming convention for the following scenario: I have a project which
In a Windows Phone project I have the following scenario: The user types some
The following scenario came up in our project: We have hierarchical business objects. The
In my project, I have this following code scenario = Scenario.new scenarioTranslation = ScenarioTranslation.new
I have the following scenario in my project based on JSF and RF3.3 1.Each
I was trying to deploy my project with IExpress. I have the following scenario.
we have following scenario for our new project: 1) Organization have central office where
I have the following scenario: Due to an unfortunate legacy database, I have some
I have a problem with db generation in following scenario: 1.cs Project entity in

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.