Unable Resolve Could not Load Type "xxxx " from assembly " xxx" RRS feed

  • Question

  • Hi,

    I am trying to build a console Application which try's to get the details from tfs, while in my process i am unable to solve below error. Could anyone help me with this.

    Thanks In Advance...!!


      Message=Could not load type 'Microsoft.TeamFoundation.Common.UriUtility' from assembly 'Microsoft.TeamFoundation.Common, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
       at Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionFactory.GetTeamProjectCollection(String featureRegistryKeyword, Uri uri)
       at Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionFactory.GetTeamProjectCollection(Uri uri)
       at Reports.TFSEntity.GetDetails() in C:\Users\xxxx\source\repos\ConnectTfsNew\Program.cs:line 40
       at Reports.Program.Main(String[] args) in C:\Users\xxxx\source\repos\ConnectTfsNew\Program.cs:line 24

    Saturday, July 27, 2019 9:19 PM

All replies

  • When you added the reference to the project make sure copy the reference to bin folder is unchecked.  Delete the dll if it is in the bin folder already
    Sunday, July 28, 2019 12:38 PM