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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T11:23:07+00:00 2026-05-21T11:23:07+00:00

I have a pretty large system to deploy, plenty of components and built to

  • 0

I have a pretty large system to deploy, plenty of components and built to be quite extensible. There is a core set of components which are necessary for pretty much anything, and other sets of components which do more specialised things (to the point of each set being an application in their own right – this isn’t necessarily true now, but we’re headed that way…)

I would like to try and put some structure into things when I deploy. I was thinking along the lines of:

  • c:\program files \ MyCompany \ MyBigSystem \ App1
  • c:\program files \ MyCompany \ MyBigSystem \ App2
  • c:\program files \ MyCompany \ MyBigSystem \ App3
  • c:\program files \ MyCompany \ MyBigSystem \ AppN
  • c:\program files \ MyCompany \ MyBigSystem \ Core

The files in e.g. …\App1 will undoubtedly have dependent files in …\Core, but obviously I want to avoid redistributing these files to the …\App1 folder. I want App1 to pick them up from the Core folder.

I am struggling to see whether this is possible.

Here’s some constraints and observations:

Currently, every component is built using static references. I am more likely to deploy everything into a single folder than to abandon this stance. Furthermore I don’t want to modify any program code which assumes this deployment structure. So wholesale changes such as using Assembly.LoadFrom, or smartly setting the appDomain’s path, are out.

I am however amenable to app.config entries, because these can be written during setup.

I have looked at (and very briefly tested) <probing>, which at first glance appeared ideal, but ended up being unsuitable because of its constraint of being a subdirectory

I have looked at <codeBase> – I didn’t read into this fully because having to register a dozen or so core assemblies individually put me right off (although having said that, it looks like it could well get me what I want if I were prepared to take the trouble).

Can anyone suggest any other approach I might consider?

TIA, Pete

  • 1 1 Answer
  • 3 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-05-21T11:23:07+00:00Added an answer on May 21, 2026 at 11:23 am

    In the end I got almost what I wanted but not quite. I ended up with all the folder structure that I wanted….

    • c:\program files \ MyCompany \ MyBigSystem \ App1
    • c:\program files \ MyCompany \ MyBigSystem \ App2
    • c:\program files \ MyCompany \ MyBigSystem \ App3
    • c:\program files \ MyCompany \ MyBigSystem \ AppN
    • c:\program files \ MyCompany \ MyBigSystem \ Core

    ….but had to put the main executables in the “MyBigSystem” folder, i.e.

    • c:\program files \ MyCompany \ MyBigSystem \ App1.exe
    • c:\program files \ MyCompany \ MyBigSystem \ App1.exe.config
    • c:\program files \ MyCompany \ MyBigSystem \ App2.exe
    • c:\program files \ MyCompany \ MyBigSystem \ App2.exe.config

    I supplemented this structure with <probing> entries in the executables’ config files, e.g.

      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <probing privatePath="Core"/>
        </assemblyBinding>
      </runtime>
    

    This seemed to keep the root folder as uncluttered as I could reasonably hope for. It also allows App6 to access dependent libraries in App1, for example, should this ever be necessary. (It was for this reason that I shied away from the GAC – if ever we get Apps dependent on apps, I can see us having to GAC everything, which would be inappropriate.)

    No code changes in this approach other than in the configs. The main challenge became getting the VS Setup project to put everything except the .exe and the .exe.config in the subfolder.

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

Sidebar

Related Questions

I have a pretty large site and every page is built from several included
Consider the apps that large blogs have (which work pretty much like an RSS
I have built a PHP calendar system and have pretty much everything done but
I'm designing a new system, and I have need to store a pretty large
I have a pretty large object that I need to pass to a function
I have an application that is pretty memory hungry. It holds a large amount
I have pretty standard Qmail toaster installation. I'm using the dot files to set
I might have pretty basic question about regex. I have the following regex, which
I have a java applet in which I have to display a large amount
At work we have a pretty large web application that works by having a

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.