简体   繁体   中英

In Setup project, difference between adding 'project output' and 'assembly'

I am not sure what is the correct thing to add. In the Setup Project, when one clicks on "View" -> Editor" -> "File System", and then right-clicks and a pop-up appears.

If Project A uses Project B, must I add B.dll (assembly), or the output of Project B?

(Assuming that I have both Project A and Project B in the solution and that Project A has a reference to Project B.)

What is the output type of project B ? if B 's output type is an assembly then adding B as project output or adding B as assembly would be same.

Simply add B as assembly, that should be fine.

Adding Project Output will add what the project outputs, which may be one file or more, of any type. Since you have a project, add its output rather than just a DLL file. This will help if the name ever changes or there are other changes

But if the DLL was a binary from somewhere, then just add it as a DLL.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM