标签:group amp xmlns 网上 com manifest post sof round
1. 引言
今天安装了visual studio 2019企业版,想给安装Ankh SVN,网上找了一下,发现Ankh SVN还不支持2019。但是有园友杨浪找到了这个问题的解决方案。
原链接在这里:Visual Studio 2019 (VS2019)正式版安装 Ankh SVN和VisualSVN插件
2. 解决方法
1)自行百度,下载Ankh.VS15Package.vsix;
2)更改文件后缀为.zip并解压;
3)修改extension.vsixmanifest文件:
<Prerequisites> <Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0,)" DisplayName="Visual Studio core editor" /> </Prerequisites>
经修改后的文件成了这个样子:
<?xml version="1.0" encoding="utf-8"?> <PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011"> <Metadata> <Identity Id="AnkhSVN.2.7.417f85d8-1b5c-47ee-a8ae-b58359e79899" Version="2.7.12815" Language="en-US" Publisher="AnkhSVN Team & CollabNet" /> <DisplayName>AnkhSVN - Subversion Support for Visual Studio</DisplayName> <Description xml:space="preserve">Open Source Subversion SCC Provider for Visual Studio 2005, 2008, 2010, 2012, 2013, 2015 and 2017.</Description> <MoreInfo>http://www.ankhsvn.net/</MoreInfo> <License>LICENSE.rtf</License> <ReleaseNotes>http://ankhsvn.net/releasenotes</ReleaseNotes> <Icon>Package.ico</Icon> <PreviewImage>AnkhSVN-Preview.png</PreviewImage> </Metadata> <Installation> <InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[15.0,17.0)" /> <InstallationTarget Version="[15.0,17.0)" Id="Microsoft.VisualStudio.Pro" /> <InstallationTarget Version="[15.0,17.0)" Id="Microsoft.VisualStudio.Enterprise" /> <InstallationTarget Version="[15.0,17.0)" Id="Microsoft.VisualStudio.IntegratedShell" /> </Installation> <Dependencies> <Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" Version="[4.5,)" /> </Dependencies> <Assets> <Asset Type="Microsoft.VisualStudio.VsPackage" Path="|%CurrentProject%;PkgdefProjectOutputGroup|" /> <Asset Type="Microsoft.VisualStudio.VsPackage" Path="Ankh.Package.pkgdef" /> <Asset Type="Microsoft.VisualStudio.VsPackage" Path="Ankh.WpfEditor.Package.pkgdef" /> </Assets> <Prerequisites> <Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0,)" DisplayName="Visual Studio core editor" /> </Prerequisites> </PackageManifest>
4)修改manifest.json,找到 Microsoft.VisualStudio.Component.CoreEditor ,将其后的“[15.0,16.0)”修改为”[15.0,)“;
5) 修改catalog.json,找到 Microsoft.VisualStudio.Component.CoreEditor ,将其后的“[15.0,16.0)”修改为”[15.0,)“;
6) 将所有文件压缩成.zip;
7)修改压缩文件的扩展名为.visx,运行安装;
Visual Studio 2019 安装 Ankh SVN
标签:group amp xmlns 网上 com manifest post sof round
原文地址:https://www.cnblogs.com/stonemqy/p/11944395.html