The initial implementation was generating unsigned assemblies. ServiceWrapper/winsw.csproj has been reworked to sign merged all assemblies automatically.
The current implementation requires winsw_key.snk instead of the encrypted key with a password.
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
* Decouple Core components into WinSWCore projects.
* Use ILMerge to merge everything (inc. Plugins) into a single executable
TODO: API Should be refactored before the publishing
TODO: check signing procedure
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Conflicts:
src/Core/ServiceWrapper/winsw.csproj
Conflicts:
src/Core/ServiceWrapper/Main.cs
src/winsw.sln
The code is compilable, the SharedDirectoryMapper won't be included into WinSW
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
Conflicts:
src/Core/ServiceWrapper/Main.cs
Conflicts:
src/Core/ServiceWrapper/ServiceDescriptor.cs
src/Test/winswTests/winswTests.csproj
src/winsw.sln
Changes summary:
* Add "version" and "help" commands
* Return error on the unsupported command
* Add CLITestHelper to simplify the testing of the service CLI
* Add unit-tests for the new functionality
Resolves#78 and #46
Related to #80
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
TODOs:
Migrate EventLogs to log4net
Delegate exceptions handling to log4net
Allows setting up log levels from ServiceDescriptor
(?) Migrate STDERR/STDOUT logs to log4net
(?) Support XML configurations of log4net loggers
Related to #69
Signed-off-by: Oleg Nenashev o.v.nenashev@gmail.com
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
* Win32 is the only supported configurationdue to Win32 API dependencies
* Debug and Release now output the data to different folders
Fixes#84
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
* install - Fail the installation if the service exists
* uninstall - Print warning if the service does not exist
Resolves#55
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>
* Use NuGet to retrieve package dependencies. Resolves#72
* Get rid of the built-in NUnit library in winswTests
Signed-off-by: Oleg Nenashev <o.v.nenashev@gmail.com>