Hi,
I am designing a windows service and now deploying it.
I have the code:
ServiceInstaller serviceInstaller1 = new ServiceInstaller();
This instantiates the object (obviously, but throws the following compile-time error:
Error 1 The type 'System.Configuration.Install.ComponentInstaller' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Configuration.Install, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. C:\Users\firstname.lastnameDocuments\Visual Studio 20
How do I fix this? I'm thinking I need an app config file in my Windows Service?