


The application name is used as the default source name.For more information, see the Current directory and content root section. Sets the content root to AppContext.BaseDirectory.Sets the host lifetime to WindowsServiceLifetime.When the app is running as a Windows Service, AddWindowsService:
Installbuilder addwindowsservice update#
Update Program.cs to call AddWindowsService. A folder for the ContosoWorker app is created automatically when the command is executed. In the following example, a Worker Service app is created named ContosoWorker. Use the Worker Service ( worker) template with the dotnet new command from a command shell. InstallBuilder - VMware Technology Network VMTN VMTN Communities VMware Technology Network Cloud & SDDC InstallBuilder Welcome to the InstallBuilder Community We are pleased to be able to launch a community that allows you to see other interested people who are using the product. Provide a name in the Project Name field.NET Core 3.0 or later for the Target Framework. In the Create a new Worker service dialog, select Create.Provide a project name in the Project name field or accept the default project name.
