I am mostly a Web programmer, but I recently needed to create a console program that generates a single executable that will be run as a scheduled job on a Windows server. It works fine, but I will want to create additional such executables, and I am not sure how to organize this in VS. Is a separate project required for each executable, or is there a way to have a single solution or project that can generate multiple executables? A lot of code will be shared amongst the programs, so it is highly desirable to be able to combine them in some way. My Web-development environment involves a solution that includes multiple projects with appropriate references, but I don't see a way to do this when creating a console program. Or should I use some other VS template?
Thanks in advance for any assistance. Regards, Steve B
Loading
Akkiraju IvaturiPosted Sep 7, 2012, 7:06 PM
You can follow the same style as for web application. First create a solution file and add all the relevant projects to the same solution. It would be easy for you to work on multiple projects in one solution and you can share the common code across the projects by adding project references and for building all the projects at onetime it would be easier for you. Since you are web programmer, you must be knowing this. But, still I am attaching just screenshots on how to do this.
There are many benefits if related projects or applications get created in one solution file.
Akkiraju IvaturiPosted Sep 11, 2012, 8:27 PM
Steve BeckerPosted Sep 11, 2012, 5:01 PM
Regards, Steve B
Steve BeckerPosted Sep 10, 2012, 12:18 PM
Thanks for your prompt and helpful reply. It has led to a few more questions, but I think I can answer them myself based on the information you have already provided. Give me a day or two to work through things and I will report back.
Regards, Steve B