- 积分
- 33
- 在线时间
- 53 小时
- 主题
- 28
- 注册时间
- 2013-8-31
- 帖子
- 132
- 最后登录
- 2019-10-21
- 帖子
- 132
- 软币
- 3320
- 在线时间
- 53 小时
- 注册时间
- 2013-8-31
|
本帖最后由 nbjjy 于 2019-9-26 17:35 编辑
经过对DevExpressPatch 8.0 for Visual Studio 2017的破解后,特制作了DevExpressPatch 19.1 for Visual Studio 2019
下面已加入了Visual Studio 2021的方法
链接:https://pan.baidu.com/s/1VNP-8pBU0u3OHAqxwNjsLw
有需要的拿去
最主要的核心文件是:DevExpress.Patch.Common.dll
注册目录在:C:\Windows\assembly\GAC_MSIL\DevExpress.Patch.Common\19.1.0.0__7fc7bfca2443de66下面
开始->运行->输入C:\Windows\assembly\GAC_MSIL\DevExpress.Patch.Common 回车,就可以进入目录
安装过程中所产生的日志文件:C:\Users\Administrator\AppData\Local\Temp下面 dd_VSIXInstaller_****.log
注意:一定要退出Visual Studio 开发工具
安装时只需要双击DevExpress.Patch.exe应用补丁就可以了。Visual Studio 2019扩展功能自动会安装,如自动安装不成功可以手功双击DevExpress.Patch.vsix来安装Visual Studio 2019扩展
后期想要删除扩展方法如下:
打开DevExpress.Patch.Vsix文件夹中的extension.vsixmanifest文件
找到<Identity Id="DevExpress.Patch.Company.1d686de8-d492-4c88-8320-73c06a907474" Version="19.1" Language="en-US" Publisher="nbjjy" />
Visual Studio 2013
cd C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\
VSIXInstaller.exe /uninstall:a0e36ee0-3a31-4f31-ae62-5c15adc1ddb1
Visual Studio 2015
cd C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\
VSIXInstaller.exe /uninstall:a0e36ee0-3a31-4f31-ae62-5c15adc1ddb1
Visual Studio 2017
cd C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\
VSIXInstaller.exe /uninstall:DevExpress.Patch.Company.1d686de8-d492-4c88-8320-73c06a907474
Visual Studio 2019
cd C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\
VSIXInstaller.exe /uninstall:DevExpress.Patch.Company.1d686de8-d492-4c88-8320-73c06a907474
为了更好的兼容低版本特意修改了配置
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011">
<Metadata>
<Identity Id="DevExpress.Patch.Company.1d686de8-d492-4c88-8320-73c06a907474" Version="19.1" Language="en-US" Publisher="nbjjy" />
<DisplayName>DevExpress.Patch</DisplayName>
<Description xml:space="preserve">DevExpress Universal 2019 Patch By nbjjy</Description>
<Icon>img.ico</Icon>
<PreviewImage>img.ico</PreviewImage>
</Metadata>
<Installation>
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.Pro" />
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.Enterprise" />
<InstallationTarget Version="[14.0,)" Id="Microsoft.VisualStudio.Community" />
</Installation>
<Dependencies>
<Dependency Id="Microsoft.Framework.NDP" DisplayName="Microsoft .NET Framework" Version="[4.5,)" />
<Dependency Id="Microsoft.VisualStudio.MPF.14.0" DisplayName="Visual Studio MPF 14.0" Version="[14.0,)" />
</Dependencies>
<Prerequisites>
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[14.0,)" DisplayName="Visual Studio 核心编辑器" />
</Prerequisites>
<Assets>
<Asset Type="Microsoft.VisualStudio.VsPackage" Path="DevExpress.Patch.pkgdef" />
</Assets>
</PackageManifest>
2037/1/31 日是因为DevExpress.Utils.About中的Utility里面的GetTicks起作用
internal static DateTime GetTicks()
{
Guid id = new Guid(1863287401, 5398, 17606, 189, 48, 14, 144, 190, 39, 135, 28);//{6f0f8269-1516-44c6-bd30-0e90be27871c}
int num = ReadVersionEx(id, 191);
try
{
if (num < 1)
{
return new DateTime(2013, 5, 22).AddDays(30.0);
}
int day = num / 1234;
int month = num % 1234 / 38;
int year = 2000 + num % 1234 % 38;
return new DateTime(year, month, day).AddDays(30.0);
}
catch
{
return new DateTime(2013, 5, 22).AddDays(30.0);
}
}
|
评分
-
查看全部评分
|