Why doesn't visual studio add links?

I just added a link to one of our own Dlls, when I tried to use It, I couldnt because of a missing dll that is referencing a new one.

What a deal? When you add a link, should all copied DLLs referenced by it be added? (except those in the PAC) ...?

+6
source share
2 answers

Yes, it’s a pain when you have a complex relationship between projects or even worse when you have between solutions.

when it is between projects, you can mark (Copy the local value to true to make sure that any dependency dependent on project A gets into the build folder.

Visual Studio does not handle encoded dependencies. you have to do it yourself (either using a script, or using some kind of dependency build tool)

+1
source

This can be handled automatically with the addition of a package manager like NuGet

+2
source

Source: https://habr.com/ru/post/887365/


All Articles