ImTryin.WindowsConsoleService
1.0.5
See the version list below for details.
dotnet add package ImTryin.WindowsConsoleService --version 1.0.5
NuGet\Install-Package ImTryin.WindowsConsoleService -Version 1.0.5
<PackageReference Include="ImTryin.WindowsConsoleService" Version="1.0.5" />
paket add ImTryin.WindowsConsoleService --version 1.0.5
#r "nuget: ImTryin.WindowsConsoleService, 1.0.5"
// Install ImTryin.WindowsConsoleService as a Cake Addin #addin nuget:?package=ImTryin.WindowsConsoleService&version=1.0.5 // Install ImTryin.WindowsConsoleService as a Cake Tool #tool nuget:?package=ImTryin.WindowsConsoleService&version=1.0.5
Library for creating Windows Services able to run as service and as console application.
Following command line arguments available:
```
- runs as Console service. Only one app instance is supported.
/hidden - runs as Console service and hide console.
It is possible to show hidden console by starting app one more time.
/installConsole - installs Console service. Creates shortcut in User's Startup folder.
/uninstallConsole - installs Console service. Deletes shortcut from User's Startup folder.
/installService - installs Windows service. Administrative privileges are required.
/uninstallService - uninstalls Windows service. Administrative privileges are required.
/startService - starts Windows service. Administrative privileges are required.
/stopService - stops Windows service. Administrative privileges are required.
/service - runs as Windows service.
Only usable then starting by Window Service Control Manager.
```
See https://github.com/imlex/ImTryin.WindowsConsoleService/tree/master/ImTryin.WindowsConsoleService.SampleWindowsService for example.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.