首页 > 其他分享 >vs使用AnkhSVN冲突

vs使用AnkhSVN冲突

时间:2024-07-13 09:07:50浏览次数:7  
标签:solution AnkhSVN sln vs 2019 冲突 版本 GlobalSection SubversionScc

 he problem seems to be the (as the error hints) the propertybag within the solution file
问题似乎是解决方案文件中的 propertybag(如错误提示的那样)

So a work around of this issue:
因此,此问题的解决方法:

  • You have a "solution.sln" created with VS 2019 or earlier
    您必须使用 VS 2019 或更早版本创建的“solution.sln”
  • In that solution you may have the following entry (may be something at the end):
    在该解决方案中,您可能有以下条目(可能是末尾的内容):
    GlobalSection(SubversionScc) = preSolution Svn-Managed = True Manager = AnkhSVN2019 - Subversion Support for Visual Studio EndGlobalSection
  • As the VS2022 doesn't support 2019 an AnkhSvn2019-class couldn't be found by VS2022 (assumption)
    由于 VS2022 不支持 2019,因此 VS2022 找不到 AnkhSvn2019 级(假设)
  • After removing the whole GlobalSection, the solution can be opened without popups.
    删除整个 GlobalSection 后,可以在没有弹出窗口的情况下打开解决方案。

Further: 进一步:
If you've installed both but want the right for the visual studio version, I suggest making the following:
如果您已经安装了这两个版本,但想要 Visual Studio 版本的权限,我建议您进行以下操作:

  • "solution.vs2019.sln" with GlobalSection(SubversionScc) ect and the VisualStudioVersion = ... at the top of the file set to VS2019 version (16.x)
    “solution.vs2019.sln”与 GlobalSection(SubversionScc) 等和 VisualStudioVersion = ...在设置为 VS2019 版本 (16.x) 的文件顶部
  • "solution.vs2022.sln" without GlobalSection(SubversionScc) ect and the VisualStudioVersion = ... at the top of the file set to VS2019 version (17.x)
    “solution.vs2022.sln”,没有 GlobalSection(SubversionScc) 等,并且 VisualStudioVersion = ...在设置为 VS2019 版本 (17.x) 的文件顶部

That way the visual studio versions selector opens the right file with the right version.
这样,Visual Studio 版本选择器将打开具有正确版本的正确文件。

As said workaround, try it as your own risk.
如上所述解决方法,请自行承担风险。

本文转自:https://github.com/AmpScm/AnkhSVN/issues/49

标签:solution,AnkhSVN,sln,vs,2019,冲突,版本,GlobalSection,SubversionScc
From: https://www.cnblogs.com/leebokeyuan/p/18299679

相关文章

  • Nginx VS Traefik Comparison
    NginxVSTraefikComparisonhttps://reverseproxy.com/docs/comparison/nginx-vs-traefik/#:~:text=In%20summary%2C%20Nginx%20might%20be%20better%20for%20more,of%20configuration%20and%20automatic%20service%20discovery%20are%20needed.UseasReverseProxyorL......
  • 在VSCODE中创建C语言环境,编译、运行、调试。
    1、安装MinGWMinGW-w64-for32and64bitWindowsdownload|SourceForge.net下载下来是一个压缩包对压缩包解压得到文件夹mingw64将文件夹mingw64剪切到C:\ProgramFiles目录下配置环境变量点击系统变量里面的Path将C:\ProgramFiles\mingw64\bin目录添加......
  • QT6 CMake项目配置 (VSCode)
    QT6CMake项目配置(VSCode)这篇文章我们介绍一下在VSCode下的配置,大体上和VisualStudio上差不多,建议先把之前介绍在VS上的配置过程看一遍,VSCode安装这个就不用说了吧,无脑下一步插件安装先把CMake相关的插件装一下第一个是CMake语言的支持插件,装了这个写CMakeLists.txt就......
  • 常见的保护器件包括TVS管、自恢复保险丝、气体放电管和压敏电阻,使用这些器件时应该如
    在电子电路设计中,保护电路元件的选择和使用至关重要。无论是避免电源过压、静电放电(ESD)还是浪涌,保护器件都能有效保护电路,延长产品的使用寿命。本文将详细介绍几种常见的保护器件:TVS管、自恢复保险丝、气体放电管和压敏电阻,包括它们的工作原理、选择参数以及常用型号推荐。......
  • qt的工程,转到vs后,中的文件都编译不过,解决办法
    原文链接 ......
  • Vscode ssh远程连接Linux服务器登录时密码password无法输入
    问题最近在用Vscode远程连接Linux服务器时,在终端提示输入密码password的时候用键盘输入没有反应。以为是键盘坏了,然后尝试复制粘贴没有用。后来找到了原因以及解决方法,感谢原帖作者(原贴链接粘在下面)原因其实系统已经接受密码了,主要错觉是由于人们经常使用的系统的密码......
  • vscode快捷配置
    vscode快捷配置搜索文件可以使用ctrl+p、在vscode打开的文件夹中搜索文件折叠代码选中代码注释:先按ctrl+k,再按ctrl+lc选中代码取消:先按ctrl+k,l再按ctrl+lu代码折叠:先按ctrl+k,再按ctrl+0[注意0为数字0]代码展开:先按ctrl+k,再按ctrl+j关闭滚轮复制功能xmodmap-e......
  • 在vscode中打开浏览器
    在html页面右键,选择openindefaultbrowser即可打开默认浏览器  布局——<!--文档类型为html--><!DOCTYPEhtml><htmllang="en"><head><!--字符集为utf-8--><metacharset="UTF-8"><!--设置浏览器兼容性-->......
  • 解决若依框架与tailwindcss 样式冲突问题
    首先下载tailwindcss样式https://www.tailwindcss.cn/docs/installation我们可以按照官方文档来进行配置 npminstall-Dtailwindcssnpxtailwindcssinit /**@type{import('tailwindcss').Config}*/module.exports={content:["./src/**/*.{html,js}"],the......
  • VSCode创建创建vue项目
    一、前情提要注:只适用于个人,已安装node、修改过淘宝镜像等前期准备工作。因此直接开始进行项目创建二、创建新项目1、先创建一个文件夹,也可以通过VSCode打开已有文件夹。(此文件夹为新创建项目的上级文件夹)2、选中打开的文件夹,点击右上角打开终端,也可以通过查看打开终端3、......