- 安装visualSVN 6.3.0插件
- 点击安装完成对话框的查看日志按钮
- 找到日志最后,找到安装目录,一般在“C:\Users\xxxxxx\AppData\Local\Microsoft\VisualStudio\15.0_7de71202\Extensions”例如:
4.打开这个目录,备份VisualSVN.Core.L.dll
5.替换VisualSVN.Core.L.dll,打开VS,visualSVN → AboutvisualSVN查看破解状况
- 打开VS,工具 → 扩展和更新,关闭插件的自动更新
以上就安装破解完成了
文件下载路径:https://download.youkuaiyun.com/download/atgeretg/11213822
下面是关于如何破解的
如何破解?
- 安装visualSVN 6.3.0插件
- 点击安装完成对话框的查看日志按钮
- 找到日志最后,找到安装目录,例如:
- 打开这个目录,备份VisualSVN.Core.L.dll至备份文件目录
- 用管理员权限打开VS命令提示工具
- 使用ildasam工具反编译VisualSVN.Core.L.dll,并生成VisualSVN.Core.L.il文件
执行命令如下:
ildasam “VisualSVN备份文件目录\VisualSVN.Core.L.dll” /out=” VisualSVN备份文件目录\VisualSVN.Core.L.il”
- 增加试用期
- 用记事本打开得到的 VisualSVN.Core.L.il 文件,在其中搜索 “CreatePregeneratedLicense”,找到CreatePregeneratedLicense方法
- 修改30为999999,保存,这样便可以修改默认授权时间,已达到免费使用目的
- 重新编译成dll文件,VS命令提示工具中执行以下命令进行编译:
ilasm "VisualSVN备份文件目录\bin\VisualSVN.Core.L.il" /output=" VisualSVN备份文件目录\bin\VisualSVN.Core.L.dll" /dll
- 当看到Operation completed successfully,即为修改成功。
- 参照之前的流程覆盖替换破解
- 直接替换破解
- 用记事本打开得到的 VisualSVN.Core.L.il 文件,在其中搜索 “KeyToLicenseUnsafe”,找到KeyToLicenseUnsafe方法
- 将代码段替换为如下:
.method public hidebysig static class VisualSVN.Core.Licensing.License
KeyToLicenseUnsafe(class VisualSVN.Core.IDecoder decoder,
string key) cil managed
{
// 代码大小 69 (0x45)
.locals init (class VisualSVN.Core.Licensing.License V_0, class VisualSVN.Core.Licensing.License V_1, class VisualSVN.Core.Licensing.License V_2)
IL_0000: nop
IL_0001: newobj instance void VisualSVN.Core.Licensing.License::.ctor()
IL_0006: stloc.1
IL_0007: ldloc.1
IL_0008: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MinValue
IL_000d: stfld valuetype [mscorlib]System.DateTime VisualSVN.Core.Licensing.License::StartTime
IL_0012: ldloc.1
IL_0013: ldc.i4.1
IL_0014: stfld valuetype VisualSVN.Core.Licensing.LicenseBinding VisualSVN.Core.Licensing.License::Binding
IL_0019: ldloc.1
IL_001a: ldc.i4 0x7ffffffe
IL_001f: stfld int32 VisualSVN.Core.Licensing.License::Capacity
IL_0024: ldloc.1
IL_0025: ldsfld valuetype [mscorlib]System.DateTime [mscorlib]System.DateTime::MaxValue
IL_002a: stfld valuetype [mscorlib]System.DateTime VisualSVN.Core.Licensing.License::EndTime
IL_002f: ldloc.1
IL_0030: ldc.i4.2
IL_0031: stfld valuetype VisualSVN.Core.Licensing.LicenseType VisualSVN.Core.Licensing.License::Type
IL_0036: ldloc.1
IL_0037: ldstr "100"
IL_003c: stfld string VisualSVN.Core.Licensing.License::PurchaseId
IL_0041: ldloc.1
IL_0042: call string [mscorlib]System.Environment::get_UserName()
IL_0047: stfld string VisualSVN.Core.Licensing.License::LicensedTo
IL_004c: ldloc.1
IL_004d: stloc.0
IL_004e: ldloc.0
IL_004f: ldloc.0
IL_0050: ldfld valuetype [mscorlib]System.DateTime VisualSVN.Core.Licensing.License::StartTime
IL_0055: stfld valuetype [mscorlib]System.DateTime VisualSVN.Core.Licensing.License::PurchaseDate
IL_005a: ldloc.0
IL_005b: stloc.2
IL_005c: br.s
IL_005e
IL_005e:ldloc.2
IL_005f: ret
} // end of method LicenseConverter::KeyToLicenseUnsafe
- 重新编译成dll文件,VS命令提示工具中执行以下命令进行编译:
ilasm "VisualSVN备份文件目录\bin\VisualSVN.Core.L.il" /output=" VisualSVN备份文件目录\bin\VisualSVN.Core.L.dll" /dll
- 当看到Operation completed successfully,即为修改成功。
- 参照之前的流程覆盖替换破解