Visual Studio Publish Not Copying All DLLs to Publish Folder -


i have web project startup project , publish web project.

a refers project -> b (a has project reference b)

b contains reference "ref.dll"

when build b, dlls of b including "ref.dll" gets copied bin folder of a

however, when publish a, cannot see "ref.dll" in published folder.

i learnt somewhere visual studio intelligent enough not copy dll if of it's methods not being used anywhere. in case, have verified methods in "ref.dll" being used.

why so? need explicitly add reference "ref.dll" in webproject a, appear in publish folder?

try setting copy local = true dll in project b.

enter image description here


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -