SpecificVersion=False with TFS API dll's

前端 未结 1 1471
忘掉有多难
忘掉有多难 2021-01-24 18:08

Our web application makes heavy use of the TFS API. We developed and compiled it with the TFS 2010 API dll\'s. We also set SpecificVersion=False.

The problem is that w

1条回答
  •  心在旅途
    2021-01-24 19:01

    Specific version does not work if the assembly is strong name signed. Microsoft almost certainly strong-name signed their assembly.

    Your website will have to make use of a bindingRedirect to redirect all versions to from v10 to v11. For example:

    
       
          
             
                
                
             
          
       
    
    

    Make sure to update the publicKeyToken to the correct value.


    Alternatively, you could recompile the website against the v11 version of the TFS SDK to avoid the binding redirect, however then it will only work with v11 of the TFS SDK.

    0 讨论(0)
提交回复
热议问题