The answer is good because it made me understand how to fix my problem. I think my requirement was somewhat different. I had to include the contents of another library project from the same solution. This seems to be great for console applications / websites, but the installer for some reason did not enable it. Perhaps the best way, but it worked for me. Similarly, right-click the installation project and:
- Select "View" > "Custom Actions". - Right click on "Install" folder and select "Add Custom Action". - Double click on "Application Folder" - Click on "Add Output..." - Select the project from the dropdown and in my instance I selected "Content Files", OK it and give it a name.
This will include any resources from the selected project, marked as Content and marked for copying, into your installer.
CrnaStena
source share