Hello,
I have a C# based solution in Visual Studio 2008 for a given problem domain. This solution has 1 + 5 projects. The first project is for resources that spans across the other 5 projects.
Each project has multiple forms. By default, the build generates one executable per project. What I want rather is each form, which has no mutual dependency to the rest, to produce a stand-alone executable.
I am aware that I could break each of the 5 prime projects into multiple projects and set "Startup Project" to "Multiple startup projects" and achieve my objective. But that will over-populate the solution with the number of projects increasing to mid double digits. I do not want to pursue the route of having a separate solution for the each of the 5 projects.
Right now I invoke Application.Run as follows to accomplish my goal:
Application.Run(new fooForm());
and when I need to create an executable for another independent form, I change the form value to
Application.Run(new barForm());
and so on until I need another shot of espresso.
Any hack to accomplish what I intend without me having to jump out of the window?