2024-0221

无法将类型为“Microsoft.VisualStudio.CommonIDE.Solutions.SolutionPropertyBagImpl”的对象强制转换为类型“Ankh.Scc.Native.ICOMPropertyBag

作者: momy 分类: 编程开发 0 Comment »
摘要:无法将类型为“Microsoft.VisualStudio.CommonIDE.Solutions.SolutionPropertyBagImpl”的对象强制转换为类型“Ankh.Scc.Native.ICOMPropertyBag

无法将类型为“Microsoft.VisualStudio.CommonIDE.Solutions.SolutionPropertyBagImpl”的对象强制转换为类型“Ankh.Scc.Native.ICOMPropertyBag


ystem.InvalidCastException: Unable to cast object of typeMicrosoft.VisualStudio.CommonlDE.Solutions,solutionPropertyBag' to type 'Ankh,Scc.Native.lCOMPropertyBag'atAnkh.VSPackage,AnkhSvnPackage,Microsoft.VisualStudio.Shell.Interop.SolutionProps.WriteSolutionProps(VsHierarchyPropertyBag pPropBag


解决方案:

在解决方案文件.sln文件内找到如下配置,移除之保存,重新打开即可


GlobalSection(SubversionScc) = preSolution
    Svn-Managed = True
    Manager = AnkhSVN - Subversion Support for Visual Studio
EndGlobalSection


标签: AnkhSVN 阅读: 171
上一篇: Oracle数据库DATE类型使用EF性能问题分析 - 202次

向右滑动解锁留言