问题
The past months I have successfully been using the AnkhSVN extension in Visual Studio 2019. Yesterday the extension stopped working properly. It is still tracking which files are changed, but the Pending changes pane is not showing any content. The file list and the comment box are transparent. Show changes is working, View history has the same problem as Pending changes: a transparent pane.
I uninstalled the extension, downloaded it again, applied the changes as described in Installation of AnkhSVN Visual Studio 2019. I then installed it again in VS 2019. This unfortunately does not solve the problem.
Visual Studio version is 16.3.2. AnkhSVN extension version is 2.7.12815.35086.
How can I get the AnkhSVN extension working properly again?
回答1:
AnkhSVN does not support Visual Studio 2019 now. The project is inactive, and in its current state it will not work with Visual Studio 2019 properly.
Consider migrating to VisualSVN that fully supports Visual Studio 2019. It is completely free for use on non-domain computers (no registration required) and provides about the same functionality compared with AnkhSVN. Note that some users find VisualSVN to be much better for their cases.
It is should be very easy to migrate from AnkhSVN to VisualSVN. The most recent VisualSVN 7.1 and VisualSVN 6.5 releases add support for multiple working copies within a single solution, and this makes the migration practically instant and painless for almost all users. See the article KB58: Migrating from AnkhSVN to VisualSVN for instructions and the article KB7: Using Multiple Working Copies in VisualSVN if your solution projects span across multiple working copies.
I uninstalled the extension, downloaded it again, applied the changes as described in Installation of AnkhSVN Visual Studio 2019. I then installed it again in VS 2019. This unfortunately does not solve the problem.
Hacking the VS2017 VSIX files by adding a few string to make this VSIX install into VS2019 is a very bad idea. This action does not magically make AnkhSVN support VS2019 - it allows its installation into VS2019. This hack may cause overall Visual Studio destabilization and unexpected problems.
DISCLAIMER: I am a support engineer with VisualSVN Team.
来源:https://stackoverflow.com/questions/58216349/ankhsvn-stopped-working-in-visual-studio-2019