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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T12:40:54+00:00 2026-05-11T12:40:54+00:00

How do you store third party libraries that you use in your project in

  • 0

How do you store third party libraries that you use in your project in your source control?

When would you store binaries in your source control?

When would you store the code in your source control?

Would you ever store both? In what situations would you do this?

(Btw, I’m using .NET but it doesn’t really matter for this question)

  • 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. 2026-05-11T12:40:54+00:00Added an answer on May 11, 2026 at 12:40 pm
    • How: a vendor branch is generally a good approach

    • When (thirdparties): for minimizing the number of referential involved: you could add those libraries into a separate external referential (like Maven), but that mean you need to access that extra referential for each of your environment (development – integration – homologation – preproduction – production)

    • When (code): for managing the complexity of the changes, when you know updates and fixes for current versions running into production will be needed while new development are in progress.

    • Why (store both): for deployment reason: you can manage a complete configuration (list of elements you need) in one referential and query it wherever and whenever you need for:

      • development (you query what you need to develop and execute your code, including thirdparties needed for compilation/execution)
      • tests (integration, homologation): you query the exacts tags you want to update your testing workspace with
      • production: you identify exactly what goes into production from one source: your SCM.

    For test and production environments, that also mean your own product (the packaged result of what you are building) should also go into your SCM (only the official releases, not the intermediate ones used internally).
    If other projects depend on your product, they will build their own project against your packaged version stored in the SCM, not against your source code they somehow recompiled.

    Why this is important ?
    Because in the end, what will run in production is that packaged version of your product, not your ‘source code re-compiled’. Hence the importance to make all your test with the target final form of your product, clearly stored and tagged in your SCM.


    Martin Lazar raises a legitimate point in his answer

    Source control is called ‘source’ control, because it is supposed to control sources.

    While that may have been historically true, every current RCS have evolved toward SCM (Source Code Management), which does not just control sources, but also manages changes to documents, programs, and other information stored as computer files.
    Binaries can then been stored (even stored with binary-delta)

    Plus that allows some of those SCM to propose S’C’M feature (as in Source Configuration Management).
    That SCM (Configuration) not only stores any kind of ‘set of files’, but also their relationships (aka dependencies) between those sets, in order for you to query one set of file, and to ‘pull’ every other deliveries on which that set depends on (to build or to deploy or to run)

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

Sidebar

Ask A Question

Stats

  • Questions 101k
  • Answers 101k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Remembering the selections in-between pages means you have some state… May 11, 2026 at 8:01 pm
  • Editorial Team
    Editorial Team added an answer With just the little bit of info you've provided, I… May 11, 2026 at 8:01 pm
  • Editorial Team
    Editorial Team added an answer No comma after the last property. Semicolon after alert(date); Case… May 11, 2026 at 8:01 pm

Related Questions

How do you store file permissions in a repository? A few files need to
I have a scenario where users of my ASP.NET web application submit testimonials consisting
One of the tenets of SOA is: Services Are Autonomous. I have 2 services.
I am implemening simple file-sharing service. Currently I use a file-based database (as it

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.