Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to cast object of type 'Microsoft.VisualStudio.CommonIDE.Solutions.SolutionPropertyBag' to type 'Ankh.Scc.Native.ICOMPropertyBag' #76

Open
bpeikes-tl opened this issue Jan 22, 2024 · 1 comment

Comments

@bpeikes-tl
Copy link

Saw the old post about this error, so I tried getting most recent version of vsix, but still get the error.

Doesn't happen with all solutions.
Visual Studio 2022 - Version 17.7.4
Ankh SVN extension - Downloaded artifact from MSBuild #160

Visual Studio showing version of extension as 2.9.87.0

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)

@Rand-Random
Copy link

My version number shows 2.9.120, so I suspect you didn't install a version with the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants