Reputation: 10249
I have two slightly different versions of my VB applications that I would like to publish simultaneously. The differences are minimal and mostly include GUI and some internal logic. Incorporating changes into a single application is not an option right now.
I tried publishing and installing them separately but the latest installer always overwrites whatever has already been installed. For example, if I install App v1, then App v2, only App v2 will be visible. If App v1 is installed after App v2, only App v1 will be visible. What I want to have is to have them both installed.
I am using Visual Studio 2008.
Thanks,
Upvotes: 0
Views: 1148
Reputation: 161791
Factor the common code out into one or more separate projects. Perhaps a class library project; perhaps a Windows Forms project for shared user controls.
Then create one Windows Forms project for each of the versions you want. Have these projects refer to the shared pieces they need.
It's always better to start off by going with the flow, before you try to swim against the tide. The flow in Visual Studio is "one project, one assembly". Start with that and see how far it takes you.
Upvotes: 6