I am confused why Visual Studio creates/copies tons of library dlls into my project’s bin/Debug folders although I have not referenced any of those libraries? The dlls represent libraries used in other projects of the same solution that above mentioned project is under but I do not get why unreferenced libraries in one given project are still copies into the bin/… folders. I use NuGet but I made sure that the solution wide NuGet manager only includes specific projects that are supplied with chosen libraries.
I am confused why Visual Studio creates/copies tons of library dlls into my project’s
Share
If project A references project B and project B references dll C then project A most likely won’t function without dll C (if any functionality from this dll is indirectly used). That’s why dll C is copied to the “bin” folder of project A.