I am having trouble getting a Windows Service which uses Rebex Mail to install properly. The installation stops with the error that the assembly Rebex.Mail, Version=2.0.5715.0..." cannot be found.
This is my first attempt at writing a Window Service. There is a reference with Copy Local=true in my project:
C:\Program Files (x86)\Rebex Components 2015 R4.1\bin\net-4.0\Rebex.Mail.dll
Is that the proper approach, as it is with desktop applications?
Do I need to move the Rebex.Mail.dll into my project's /debug folder, so it is in the same folder as the myservice.exe?