Exception in Visual Studio 2022 (version 17.2.0) when opening a solution that uses AnhSvn
See original GitHub issueI’ve successfully used AnkhSVN version 2.9.87 with Visual Studio 2022 (internal version < 17.2). Now I’ve updated to VS2022 version 17.2. When I now open a solution file that uses AnkhSvn I get this exception:
System.InvalidCastException: Unable to cast object of type 'Microsoft.VisualStudio.CommonIDE.Solutions.SolutionPropertyBag' to type 'Ankh.Scc.Native.ICOMPropertyBag'.
at Ankh.VSPackage.AnkhSvnPackage.ReadSolutionProps(IVsHierarchy pHierarchy, String pszProjectName, String pszProjectMk, String pszKey, Int32 fPreLoad, IPropertyBag pPropBag)
Afterwards Visual Studio freezes.
Issue Analytics
- State:
- Created a year ago
- Reactions:11
- Comments:10
Top Results From Across the Web
AnkhSVN Error in Visual Studio 2022 17.2.5
I have change the solution following your guidance, and another error happened The source control provider associated with this solution could ...
Read more >AnkhSVN is not working with newest Version of VS
This issue appears to be identical to https://developercommunity.visualstudio.com/content/problem/215300/ankhsvn-causes-projects-not-to-load.
Read more >Vs 2022 continue crash: KernelBaseDll error - Microsoft Q&A
I've Microsoft Visual Studio Professional 2022 (64-bit) - Current Version 17.2.5. In one of my solution (the only where i work actually) VS ......
Read more >AnkhSVN pending changes window throws exception in ...
I'm using AnkhSVN as source control plug-in. When opening the Pending Changes window in Visual Studio 2019 an exception occur. An internal error...
Read more >VisualSVN for Visual Studio 2022
Easy and powerful Subversion (SVN) integration for VS2022. Everything you need to work smoothly with version control and advanced features such ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
MSBuild 121 action has expired so there’s not a solution in this moment. Please, update the VSIX on the Marketplace if possible. Thanks!
Yes, after #44 now is working, thanks