Search code examples
c#visual-studiodllorganizationexternal-dependencies

How to organize dll files in project?


I would like to organize library files in my project. I currently have about 30 libraries (devExpress, system (winforms), system (others), project references) in a single project. Is it possible to organize such a view?

libraries

For example, is the way to create a directory structure in Visual Studio for that file types in the solution? Something like this:

  • References/     
    • devExpress (including DevExpress dlls)
    • system (all system dlls)
    • projectDependencies

Solution

  • You cannot alter the way that the References view looks in Visual Studio. However, you can add a folder to your project and put all 3rd-party DLLs in that folder for the sake of organisation.

    enter image description here

    You can then add those DLLs as references to your project.