I created a windows service to interact with a TFS server, and it is working fine on my local machine. In order to make this work, I had to add references to Microsoft.TeamFoundation.Client.dll - I copied this file from my TFS installation on my local machine, and then added it in a folder and then added the references to the dll from my project.
Now I need to deploy on the server, and I thought copying the dll on the server on the same level as the .exe would be enough. But it keeps saying that Could not load file or assembly 'Microsoft.TeamFoundation.Client
What do I need to do here?
EDIT: OK, so I found that the microsoft dll is 32 bit, while the server is 64 bit. I changed my service target to be 32 bit also, and I still have the same problem...