Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8986965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T21:40:40+00:00 2026-06-15T21:40:40+00:00

I created a windows service to interact with a TFS server, and it is

  • 0

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…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T21:40:41+00:00Added an answer on June 15, 2026 at 9:40 pm

    The Team Foundation Server object model (client assemblies) are installed in the GAC (along with it’s other dependencies). They are distributed as part of Visual Studio and the team explorer SKU which is the supported way to consume them as a redist.

    Recently the object model was also made available as a separate installer:

    http://visualstudiogallery.msdn.microsoft.com/a37e19fb-3052-4fc9-bef7-4a4682069a75

    That’s for the 2010 OM. I believe the 2012 OM installer is in the works.

    Here’s a related link:

    http://blogs.msdn.com/b/buckh/archive/2012/07/14/standalone-installer-for-the-tfs-client-object-model.aspx

    If you must have 2012 OM before it’s released as a separate sku, the workaround is to use the team explorer sku available here:

    http://www.microsoft.com/en-us/download/details.aspx?id=30656

    UPDATE: 2012 OM redist here: http://visualstudiogallery.msdn.microsoft.com/f30e5cc7-036e-449c-a541-d522299445aa

    UPDATE: In 2015, OM is no longer in the GAC. Moving to a nuget package to consume.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a windows service and I had installed it on my PC.
I have created a windows service which interacts with SQL Server Express Edition. I
I've created a Windows service in C#, installed it on a server and it
i created a windows service that move files around between the server's hard drive
I've created a Windows service based on the ServiceBase class. In this service I
I created a windows service,by this windows service i am publishing the web service
I have created a windows service which is set to start automatically. This service
I have created a windows service and want to connect to SQL server 2008
I have created a Windows Service in VB.net for building xML from a database.
I've created a Windows Service that uses WCF for communications to it. The service

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.