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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T06:58:37+00:00 2026-05-28T06:58:37+00:00

I’m doing a solution which has a 3 projects(c#). Main executable project Dll Dll

  • 0

I’m doing a solution which has a 3 projects(c#).

  1. Main executable project
  2. Dll
  3. Dll

Main project has references to others.
I want to have following file structure in my main project:

main.exe 
Libraries - folder
  + 2.dll
  + 3.dll

But unfortunately VS is putting those DLL files to EXE location.

It there any simple solution to do it?

  • 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. Editorial Team
    Editorial Team
    2026-05-28T06:58:38+00:00Added an answer on May 28, 2026 at 6:58 am

    You can change the Output Path on the child DLLs to point to Libraries.

    However, this is not a standard path that .Net probes at runtime for DLL resolution, so you will likely have issues when you try to deploy this unless you load from these locations by hand.

    If you have the project reference marked to Copy Local, then I don’t believe that you can change the directory that Visual Studio copies files into through configuration.

    However, you could setup a post-build command that automatically moves the files into the desired subdirectory after each build.

    Update

    I love this site because it enables me to learn new things every day. As a case in point, I just discovered the probing element that you can add to your config file in order to add additional paths to the standard probing paths.

    This configuration element allow .Net to search your libraries folder for DLLs to load so that you don’t have to do any additional work once they are in place (you will still need to move them to that directory using a postbuild command).

    Here is a sample config entry to support your configuration:

    <configuration>
       <runtime>
          <assemblyBinding>
             <probing privatePath="bin\libraries"/>
          </assemblyBinding>
       </runtime>
    </configuration>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to count how many characters a certain string has in PHP, but
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have a text area in my form which accepts all possible characters from
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I am trying to understand how to use SyndicationItem to display feed which is
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I used javascript for loading a picture on my website depending on which small

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.