Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

    If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

    Using "TFS" extension with TFS 2012

    Scheduled Pinned Locked Moved Support
    buildmastertfs
    4 Posts 1 Posters 37 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      Hello,

      We are currently using the "TFS2012" BuildMaster extension. We know that it is not supported anymore and had recently tried to switch over to the "TFS" extension.

      When attempting to use the Create TFS Build action from the "TFS" extension, we had received the following exception:

      An unhandled exception occurred while executing this action: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.TeamFoundation.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
      File name: 'Microsoft.TeamFoundation.Client, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
      at Inedo.BuildMasterExtensions.TFS.CreateTfsBuildAction.Execute()
      at Inedo.BuildMaster.Extensibility.Actions.ActionBase.ExecuteInternal(IActionExecutionContext context, ExtensionConfigurerBase extensionConfigurer, Boolean resumeNextOnError, Boolean logErrorsAsWarnings)

      We do not have Visual Studio 2013 on the controller that is calling the Create TFS Build action, but do have Visual Studio 2012. Is it be possible to change the "TFS" extension to point to the Visual Studio 2012 binaries rather than the 2013 binaries?

      Thank you,
      Kevin

      Product: BuildMaster
      Version: 4.8.4

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        Hi Kevin,

        The "TFS" extension should work with 2010, 2012, 2013, and 2015; the .dll we create does not reference a specific version of the TFS .dlls, as you can see here: https://github.com/Inedo/bmx-tfs/blob/master/TFS.csproj#L66

        Note that your error message is referencing "Version=12.0.0.0" (which is Visual Studio 2013); this means that one of the (many) TFS v12 .dlls were already successfully loaded into memory, but the remaining libraries could not be. This could happen if some other components/tools, like MSBuild extensions, were installed.

        Can you just Team Viewer 2013? This will give you a complete set of libraries, and then the action will work.

        1 Reply Last reply Reply Quote 0
        • ? This user is from outside of this forum
          Guest
          last edited by

          Thanks Alana! We will go down the route of installing Team Explorer 2013.

          1 Reply Last reply Reply Quote 0
          • ? This user is from outside of this forum
            Guest
            last edited by

            i have 2015 team explored installed but not succeeded in same schenario.

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation