In my console app, I run a Timer. I had to add a reference to system.windows.form.dll and then do an Application.Run to keep the console app from closing. Is it necessary to add the windows forms reference for the timer in a service?
Terry Olsen wrote: > In my console app, I run a Timer. I had to add a reference to > system.windows.form.dll and then do an Application.Run to keep the console > app from closing. > > Is it necessary to add the windows forms reference for the timer in a > service? > > For any reference it is simple to tell. Take it off. Does it still build? If not add it back. This simple test works for any reference, not just windows forms.