无法将类型为“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
最近评论