How to prevent “There appears to be a discrepancy between the solution's source control…” without changing the .sln file

后端 未结 5 863
伪装坚强ぢ
伪装坚强ぢ 2021-02-02 08:10

Note: I saw "There appears to be a discrepancy between the solution's source control ...." , but this doesn\'t apply, as I wish to fix this without changi

5条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-02 08:25

    I had this problem with a Solution containing *.vcxproj project files, that were previously migrated from VS2008 to VS2010. The path to TFS was defined in both the .sln file and the .vcxproj files.

    The simplest fix was to update the *.vcxproj project files to use the SAK keyword.

    ie update from the format:

    $/MyProject/Directory/abc
    http://servername:8080/tfs/defaultcollection
    .
    {11111111-1111-1111-1111-111111111111}
    

    to

    SAK
    SAK
    SAK
    SAK
    

提交回复
热议问题