How to include 3rd party dll resources file into install package

1.2k Views Asked by At

I have two projects, both of them provides localizable support.

Project A generate ProjectA.dll and ProjectA.resources.dll (in zh-Hans folder)

Project B reference to ProjectA.dll (Project A and Project B in different solution).

create setup project for Project B with Visual Studio Installer. Added Primary output from ProjectB and Localized resources from ProjectB.

But it looks ProjectA.resources.dll didn't included in setup project. Can any one tell me what is the right way to include localized resources of Project A into setup project of Project B?

2

There are 2 best solutions below

3
On

Try to add a reference of ProjectA.dll into ProjectB solution.

simply right click on the Reference in the solution explorer and click on Add. then browse your dll and add its reference into the ProjectB solution. It might work for you.

2
On

Find the relevant .dll file in the project, Right click it - > properties, Set the "Copy Local" value to true