1.4.15

TFS build: Visual Studio 2013 XAML designer ERROR System.MissingMethodException: Method not found: 'Void Microsoft.TeamFoundation.Deployment.Workflow.Activities.MSDeploy.set_DoNotDelete(System.Activities.InArgument`1)'


Description:
When you'll try to edit build workflows (TfvcTemplate.12.xaml or TfvcContinuousDeploymentTemplate.12.xaml) of TFS 2013 using visual studio 2013 with update 4, you will get an error indication (marked in blue) on workflow activities.

At the error list view you'll see the error:
System.MissingMethodException: Method not found: 'Void Microsoft.TeamFoundation.Deployment.Workflow.Activities.MSDeploy.set_DoNotDelete(System.Activities.InArgument`1<Boolean>)'.





Resolution:
The steps below will describe how to use the two DLLs that are missing to the XAML designer.

·         Copy DLL "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\ReferenceAssemblies\v2.0\Microsoft.TeamFoundation.Deployment.Workflow.dll" to "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE" (the correct DLL version 12.0.30324.0)
·         Restart Visual studio
·         Reload the problematic XAML
·         You might get the error: System.IO.FileNotFoundException: Could not load file or assembly 'LibGit2Sharp, Version=0.14.30212.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
File name: 'LibGit2Sharp, Version=0.14.30212.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'

·         To solve it:
-          Create a blank project in visual studio
-          add following dll to references
C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\LibGit2Sharp.dll

·         Add your build XAML to the project



3 comments:

  1. Thanks for the info. It is for me to date. I already thought that I can not find a solution for it. Thank you master of visual studio. Instead, I can tell how to fix a problem with dll files http://fix4dll.com/d3dx9_39_dll. Simply download the desired file for the relevant error.

    ReplyDelete
  2. Thank you for sharing such a nice and interesting blog with us. I have seen that all will say the same thing repeatedly. But in your blog, I had a chance to get some useful and unique information. I would like to suggest your blog in my dude circle. please keep on updates. hope it might be much useful for us. keep on updating...
    seo company in chennai
    Digital Marketing company in chennai

    ReplyDelete
  3. his was a very interesting read! Lots of opinion and very


    good research to be shared! Good feedback from the online


    readers as well. I must commend the author and web designer

    ReplyDelete