I wrote a windows service that runs on Framework 4.0 and running in VS 2015. I also created a setup project (free Installshield version).
My service did not show und
This error occurs when targeted .NET framework is not installed.
If you are targeting the same development machine then please check if that service (EXE) is already running on that machine or not (It should not running).