views:

26

answers:

1

I have a solution in visual studio with 4 projects - 2 windows form applications, a class library and a setup project.

The 2 windows forms applications both reference the class library project.

My setup project includes the primary outputs for both windows forms application, and the detected dependencies include the class library.

I've put one of the primary outputs in the Application Folder, and the other in a sub folder. The problem is that the class library assembly only gets installed in the application folder directory but I also need it in the sub directory, otherwise one of the windows form applications will not run. How can I get it to install in both places? Is it possible to do without manually adding the assembly?

A: 

The easy solution would be to install both .exes in the same folder as the .dll they need to run. You could put a shortcut to the second .exe in a subfolder, if you want.

Beth