Hello,
I'm developing a C# application that will be used over a network. Eventually, I want to run it as a service so that the user does not see that the program is running.
While converting a test application into a service I ran into the problem that the relative paths I defined in my code crash the service because it cannot find the files it is supposed to load.
I tried Application.ExecutablePath instead, but no luck, the service's ExecutablePath is system32, which is not where the files are.
Does anyone know what to use instead? Or will I have to use absolute paths?