Installation of AnkhSVN Visual Studio 2019

后端 未结 6 608
梦毁少年i
梦毁少年i 2021-02-01 12:39

I can not Install AnkhSVN -Subversion Support for Visual Studio 2019,

I have tried to Install It, It says Version is Invalid for VS2019

I use VS2019 Professional

6条回答
  •  余生分开走
    2021-02-01 13:39

    The latest AnkhSVN version is not compatible with Visual Studio 2019 (and the project, unfortunately, seems dead).

    A possible solution is to edit manually the files stored in the vsix file (it's a zip file with a different extension).

    The file to edit are:

    • extension.vsixmanifest
      Change the occurance of [15.0,16.0) to [15.0,17.0)
      Change the prerequisite in this way:

    • catalog.json
      search Microsoft.VisualStudio.Component.CoreEditor and change the version to "[15.0,)"

    • manifest.json
      search Microsoft.VisualStudio.Component.CoreEditor and change the version to "[15.0,)" as the catalog.json

    After these changes it's possible to install the extension in VS2019 but still open a warning shown by VS related an incompatibility of the load process (AnkhSVN use a synchronous load, VS2019 want an async load).

提交回复
热议问题