Class library assemblies used by Windows Services written in C#

Posted by Water Cooler v2 on Stack Overflow See other posts from Stack Overflow or by Water Cooler v2
Published on 2010-03-28T17:37:23Z Indexed on 2010/03/28 17:43 UTC
Read the original article Hit count: 235

Filed under:

If I write a C# class called Foo and that is compiled into an assembly named FooLib.dll. Then, I write a Windows Service in C# that references FooLib.dll. When I deploy my Windows Service using InstallUtil.exe:

a) do I have to explicitly tell it to reference my FooLib.dll?

b) where does FooLib.dll get deployed if I mean to deploy it as a private assembly and not in the GAC?

© Stack Overflow or respective owner

Related posts about windows-services