As an example, I'm trying to add a reference to WatiN in Visual Studio 2008. I download WatiN and I have a folder on my desktop containing 5 files:
- WatiN.Core.dll
- WatiN.Core.xml
- Interop.SHDocVw.dll
- Microsoft.mshtml.dll
- WatiN.Core.UnitTests.dll
- WatiN.Core.UnitTests.dll.config
I can add my reference to WatiN.Core.dll and start coding in Visual Studio. But I have some questions:
- Can I now delete the folder on my desktop? Were the files copied to the project bin?
- What happens when I check my project into source code and another developer checks it out? Does he/she have to have the same folder on their desktop.
My thought was to create a lib folder in the project and reference the files in the lib folder. This folder will get added to source control so that everything should work for the next developer. But I have some questions about this solution:
- Do I need all 6 of those files?
- I believe the .config files have something to do with intellisense, but the project will build and run without them right?
- How do I know what files to include apart from the WatiN.Core.dll. The project builds and runs with only WatiN.Core.dll and Interop.SHDocVw.dll. How am I meant to know what the dependencies are?
Any insight is much appreciated.