views:

33

answers:

2

I have a solution with several projects:

MyLibrary (a VB.NET dll)
  .dll
  app.config
MyService (C# Windows Service with ProjectInstaller)
  .exe
  app.config
MyGui (C# WinForms app)
  .exe

I've added a setup project and added primary outputs of all three projects. I've added all three project outputs to custom action section. The thing is no matter what I do I couldn't get MyLibrary.dll.config to install in application folder. The .config file is in the project\bin\debug folder but not in application folder. What am I doing wrong?

+1  A: 

Use Add->Project Output and select Content Files

Sergej Andrejev
This didn't work. Still no .dll.config in the application folder..
Armagan
A: 

Only solution I was able to find is manually add the file to the setup project.

Armagan