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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T08:50:26+00:00 2026-05-12T08:50:26+00:00

I need some help regarding Visual Studio solution and project organization. I have a

  • 0

I need some help regarding Visual Studio solution and project organization.

I have a solution with several projects. All of them are written in C# and are compiled as libraries to be used by the GUI. Some of these libraries have also dependencies with others. For example, TestExecutive needs LoggingFramework, Communications needs LoggingFramework too.

Which is the best way of organizing? I’m thinking on a folder assemblies to hold libraries’ binaries in one place. Something like:

Solution
    |
    |-- TestExecutive
    |-- LoggingFramework
    |-- assemblies

There is also another problem. One of the projects uses a native C dll. Where do I have to place this library? With the librarie’s assembly or with the final executable?

EDIT:

Ok, now suppose I have the WinForms program running. I have source code and binaries mixed. Which features do I need to generate something I can distribute? I mean, with all the libraries and configuration files, but without source code. I have done this before with Nullsoft installer, but I don’t know if visual studio can help you doing that.

  • 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-12T08:50:26+00:00Added an answer on May 12, 2026 at 8:50 am

    A few things here:

    1. When one project depends on another, you can set up that dependency in Visual Studio. Right click on a project and select Project Dependencies…

    2. For other .NET assemblies that are NOT part of your solution (3rd party tools, etc.) I do exactly what you showed here — I have a separate folder parallel to the projects. Then I set up the assembly reference in each of the projects with “Copy Local” set to true and it works fine.

    3. For native C dlls, it’s a little different. There is no direct reference to them in the references section of the solution explorer. The compiler isn’t going to look at the dll to check your p/invoke references or anything like that. You just need to make sure the dll is part of the deployment on your top level web or winforms project. It’s a content file just like a css file or image or something. Just add it as a file in the project and make sure the “Build Action” is set to Content so Visual studio knows to just copy the file as part of the deployment

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

Sidebar

Ask A Question

Stats

  • Questions 203k
  • Answers 203k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer An indirect reference perhaps? That is, you reference assembly A… May 12, 2026 at 8:38 pm
  • Editorial Team
    Editorial Team added an answer From memory you will need to create a custom formatter,… May 12, 2026 at 8:38 pm
  • Editorial Team
    Editorial Team added an answer The EvaluateExpression method is used when the CompilationMode is set… May 12, 2026 at 8:38 pm

Related Questions

We all do code, small (like one .exe) or big applications (complete solutions) with
I need some mind reading here, since I am trying to do what I
The requirements are : Fact 1 : We have some data files produced by
I need some help regarding algorithm for randomness. So Problem is. There are 50

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.