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

  • Home
  • SEARCH
  • 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

Related Questions

Store everything in GMT? Store everything the way it was entered with an embedded
I store some time values in sqlite in %H:%M string format (for example 15:43),
How do I store binary data in MySQL ?
I need to store products for an e-commerce solution in a database. Each product
I usually store my connectionstring in web.config or in the application settings of my
I need to store phone numbers in a table. Please suggest which datatype should
I need to store app specific configuration in rails. But it has to be:
I need to store user entered changes to a particular table, but not show
I want to store the current URL in a session variable to reference the
I need to store some sensitive data by encrypting it with atleast 128 bit

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.