Description: Based on the example of a Windows service, development environment is vs2010, can be a bit error, but in my machine can run, you can reference
To Search:
File list (Check if you may need any files):
WindowsServiceHost
..................\Services
..................\Services.sln
..................\Services.suo
..................\........\App.config
..................\........\bin
..................\........\...\Debug
..................\........\...\.....\Services.dll
..................\........\...\.....\Services.dll.config
..................\........\...\.....\Services.pdb
..................\........\...\Release
..................\........\Book.cs
..................\........\BookService.cs
..................\........\IBookService.cs
..................\........\obj
..................\........\...\Debug
..................\........\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
..................\........\...\.....\Services.csproj.FileListAbsolute.txt
..................\........\...\.....\Services.dll
..................\........\...\.....\Services.pdb
..................\........\...\.....\TempPE
..................\........\Properties
..................\........\..........\AssemblyInfo.cs
..................\........\Services.csproj
..................\........\Services.csproj.user
..................\WindowsServiceHost
..................\..................\bin
..................\..................\...\Debug
..................\..................\...\.....\WindowsServiceHost.exe
..................\..................\...\.....\WindowsServiceHost.pdb
..................\..................\...\.....\WindowsServiceHost.vshost.exe
..................\..................\...\.....\WindowsServiceHost.vshost.exe.manifest
..................\..................\obj
..................\..................\...\x86
..................\..................\...\...\Debug
..................\..................\...\...\.....\DesignTimeResolveAssemblyReferencesInput.cache
..................\..................\...\...\.....\TempPE
..................\..................\...\...\.....\WindowsServiceHost.csproj.FileListAbsolute.txt
..................\..................\...\...\.....\WindowsServiceHost.exe
..................\..................\...\...\.....\WindowsServiceHost.pdb
..................\..................\Program.cs
..................\..................\Properties
..................\..................\..........\AssemblyInfo.cs
..................\..................\Service1.cs
..................\..................\Service1.Designer.cs
..................\..................\WindowsServiceHost.csproj