cate, Cerebrus is correct for Visual Studio. Now if you were doing C development, you could in theory make a Build file that would compile each of the classes you have the Main method in but in either point in case you would have to develop a build segment for each of those classes in the build file.
Ultimately, you are either going to have to build a DLL library file and consume the classes from there with a Interface that consumes the class that you want for the duration of that session or have several projects that get compiled into EXE applications. On May 23, 1:05 am, Cerebrus <[email protected]> wrote: > Use separate projects or build via command line. > > On May 22, 6:58 pm, cate <[email protected]> wrote: > > > > > I have multiple classes with the Main method defined. For the > > project, which contains these, the main point of entry can be defined > > by setting "Startup object" to the project's "main" entry point. > > However, I want to build the exe for every class that defines a Main > > method and to run them whenever I please. How do you set that up?- Hide > > quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net
