title: Is there any reason why a Win Service would not execute functions in an external library?
body: <p>I am new to writing Windows Services so this is really strange to me. I have debugged an external library using a WinForm. The external library does some drive mapping, copying a directory structure, deleting the original directory, renaming the copied directory, and then removes mappings.</p>
  
  <p>So, when I write up the service to initialize the external class and start the process, the service doesn't seem to be doing what I think it should be doing. It appears to be doing nothing and completely ignoring what is going on.</p>
  
  <p>Is there anything I am missing? Does the external library need to have any Security attributes?  </p>
  
  <p><strong>Update</strong>
  Found out how to attach a debugger, per @Will's comment: <a href="https://stackoverflow.com/questions/1982636/debugging-windows-services/1982734#1982734">System.Diagnostics.Debugger.Break()</a></p>
  
  <p><strong>Edit</strong><br>
  It also helps when you copy your app.config file to the correct directory!!!</p>