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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:16:55+00:00 2026-05-10T23:16:55+00:00

I have a project that is stored in a Subversion repository. In this repository,

  • 0

I have a project that is stored in a Subversion repository.

In this repository, in a different folder, I have a set of libraries that I use in many of my projects. These libraries are stored as binary files, ie. the dll’s, pdb’s, and xml’s.

Here’s an example layout:

<repo-url>     \Libraries         \SQLite         \SystemHooks         \Moq 

In the application project, I add a ‘libs’ directory, then add a svn:externals reference property to that directory to pull in the libraries I need.

For instance, for this project I am working on now, which prompted this question, I need the SystemHooks library, so in my app project folder structure, it now looks like this:

SketchingMode         <-- solution folder, other projects here as well     SketchingMode     <-- app project folder         libs             SystemHooks 

The nice thing about this is that I can more easily update the libraries, and just use the -rXYZ specifier for the externals definition to avoid pulling in newer versions than I’m ready to accept, and still have only one copy of each file/version in my repository.

The bad thing, in this particular case, is that one of the dll’s in the SystemHooks directory (2 if I want the pdb as well) needs to be copied to the output directory, not referenced by the project.

References work as normal, but once I tag one of the files in this directory as ‘Content’ and ‘Copy always’ or ‘Copy if newer’, then the libs and SystemHooks directory structure is also copied to the output directory.

As such, after a build, my on-disk directory structure looks like this:

SketchingMode         <-- solution folder, other projects here as well     SketchingMode     <-- app project folder         libs             SystemHooks         bin             Debug               <-- main build output here                 libs                     SystemHooks <-- 1-2 files in here 

Is the only way to avoid this to use the post-build steps and just add the necessary copy statements? Or can I somehow tweak the project file to avoid copying the full structure like that?

Just to make it clear, in the bin\Debug directory, I don’t want another layer of libs\SystemHooks in there, and all the files presently being copied to the bin\Debug\libs\SystemHooks folder needs to be copied to the bin\Debug folder instead.

  • 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-10T23:16:56+00:00Added an answer on May 10, 2026 at 11:16 pm

    How about checking out the libs directory to the level of the solution rather than the project? That is what we do since library assemblies tend to be used by multiple projects; placing direct inside one project’s directory would not make for a highly shareable resource.

    SketchingMode solution   SketchingMode proj     bin       Debug       Release   Libs     SystemHooks 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 72k
  • Answers 72k
  • 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
  • added an answer In .NET winforms, all messages go to WndProc, so you… May 11, 2026 at 1:45 pm
  • added an answer Beh... The method.invoke() call wasn't the one throwing directly. The… May 11, 2026 at 1:45 pm
  • added an answer Given a variable searchFor that contains the search string, you… May 11, 2026 at 1:45 pm

Related Questions

No related questions found

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.