The only way to handle repetitive tasks, are to automate them. After getting fed up starting n cmd consoles and n "Set Startup Projects - Multiple Startup Projects" in Visual Studio, it was time to do something, and this is the result.
This application is a small helper app I wrote for starting multiple NServiceBus services for a given profile. It will monitor the process status of the host and show it in the GUI
- Load and save the current application set to a xml file
- Hides the console application from the taskbar
- Double click an item in the list to bring the process to front
- Kill all processes (from menu)
- Modify profile for a given application (right click the application)
You can get the source from GitHub: https://github.com/mteinum/MultiAppLauncher
The application supports Drag & Drop so you can drag the NServiceBus.Host.exe file on the application and you we will be asked for a profile to be assigned.
The settings file for an applicationset is an array of filenames to execute, and a profile that will be passed as an argument.
<?xml version="1.0"?> <SettingsDocument xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <FileNames> <FileSettings> <Name>C:\dev\MyService1\bin\Debug\NServiceBus.Host.exe</Name> <Profile>NServiceBus.Lite</Profile> </FileSettings> .... </FileNames> </SettingsDocument>
|CTRL+O||Open an application set file|
|CTRL+S||Save the current configuration|
|CTRL+R||Start all applications that are not running. If no rows are selected then all the applications will be started. If you do explicit selection, only those selected will be started.|
The application requires .NET 4.0 installed. http://www.microsoft.com/download/en/details.aspx?id=17851
Latest version: https://github.com/mteinum/MultiAppLauncher/downloads