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

Related Questions

I have multiple projects that are stored on my local computer but are not
I have a project that I have divided quite aggressively into different layers. I
I have a project that using some third-party libraries. My questions is how to
I have a project that is supposed to run on different (at least 2)
We have a project that is stored within our TFS server and some files
We have our project stored in subversion in following way: trunk (main development goes
I have a database project that generates these files and added to gitignore. However
I have an Android project that requires me to use an NFC tag for
So I have my subversion repository stored on some cloud (for example code.google.com) but
I have this project that I am creating a library to handle all the

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.