1.首先备份当前安装visualSVN文件的bin目录,万一出错还能反个水。一般默认安装路径是C:\Program Files(x86)VisualSVN\bin

2.然后运行ildasm,Window中有自带的反编译ildasm工具,位于“C:\Program Files\Microsoft SDKs\Windows\v7.0A\bin\”.

3.用ildasm打开刚才备份的bin目录下的VisualSVPN.Core.L.dll,单击文件菜单点击转储。

4.得到同名的il文件:VisualSVN.Core.L.il,用记事本打开得到的VisualSVN.Core.L.il文件,在其中搜索“KeyToLicenseUnsafe”,找到KeyToLicenseUnsafe方法,大概在3188行附近。查找并替换成下面的代码,然后保存

.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.

IL_0007: ldloc.

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.

IL_0013: ldc.i4.

IL_0014: stfld valuetype VisualSVN.Core.Licensing.LicenseBinding VisualSVN.Core.Licensing.License::Binding

IL_0019: ldloc.

IL_001a: ldc.i4 0x7ffffffe

IL_001f: stfld int32 VisualSVN.Core.Licensing.License::Capacity

IL_0024: ldloc.

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.

IL_0030: ldc.i4.

IL_0031: stfld valuetype VisualSVN.Core.Licensing.LicenseType VisualSVN.Core.Licensing.License::Type

IL_0036: ldloc.

IL_0037: ldstr "

IL_003c: stfld string VisualSVN.Core.Licensing.License::PurchaseId

IL_0041: ldloc.

IL_0042: call string [mscorlib]System.Environment::get_UserName()

IL_0047: stfld string VisualSVN.Core.Licensing.License::LicensedTo

IL_004c: ldloc.

IL_004d: stloc.

IL_004e: ldloc.

IL_004f: ldloc.

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.

IL_005b: stloc.

IL_005c: br.s

IL_005e

IL_005e:ldloc.

IL_005f: ret

} // end of method LicenseConverter::KeyToLicenseUnsafe

--------------------- 作者:木生火 来源:CSDN 原文:https://blog.csdn.net/msh2016/article/details/85556127 版权声明:本文为博主原创文章,转载请附上博文链接!

5.用管理员权限打开VS命令提示工具

6.运行下面的代码,看到successfully表示成功了。将重新编译的dll文件覆盖到安装目录中就OK了。"ildasm"备份目录\VisualSVN.Core.L.il" /output="备份目录\VisualSVN.Core.L.dll" /dll

7.然后运行你的VS就可以看到VisualSVN已经没有Lisence时间限制啦

SVN_03绿色版的更多相关文章

  1. premere cs4绿色版 安装 并且 视频导出 讲解

    最近室友,开始在玩视频剪辑,用的是 premere cs4 绿色版.让他遇到的最大问题也是我之前遇到的最大问题,就是视频导出. 所以我在这里上传一套自己的一点点经验吧. 接下来,我就总结一下 我是怎么 ...

  2. 绿色版的Linux.NET——“Jws.Mono”

    Linux.NET环境的搭建,不仅是一项比较耗时的事情,同时也是一项略显复杂繁琐的事情.特别是对于近期的几个Mono版本,由于官方所提供的源码包中出现代码文件的缺失,这总让我们的付出变得徒劳.另外一方 ...

  3. [软件推荐]快速文件复制工具(Limit Copy) V4.0 绿色版

    快速文件复制工具(Limit Copy)绿色版是一款智能变频超快复制绿色软件. 快速文件复制工具(Limit Copy)功能比较完善,除了文件复制还可以智能变频,直接把要复制的文件拖入窗口即可,无需手 ...

  4. VB6SP6极度精简兼容绿色版

    钟爱绿色小巧的软件.怀旧一下,整合了几个资源,做了一个VB6SP6极度精简绿色版. 压缩包大小5M. 网上的极度精简绿色版不是SP6的,特意在其基础上更新了SP6.不是单文件版,所谓单文件版不过是执行 ...

  5. plsql+绿色版oracle连接远程数据库配置及提示缺少msvcr71.dll解决方法

    之前一直用的sqldeveloper连接oracle数据库,这个免费而且也是官方出品,除了体积略大启动略慢外,也没什么不好的.. 一次偶然机会决定试一下plsql,整理一下安装资料,需要本地oracl ...

  6. 360随身WIFI程序单文件绿色版及网卡驱动(附使用感受)

    大家好,我是Colin,今天刚收到传说中的360WIFI,拿到手后马上就进行了测试.就做工而言,19.9的价格算是比较公道的,网卡很小,做工还可以,带磨砂质感,而且还提供了一个耳机插头,可以当挂件一样 ...

  7. mysql学习-windows下绿色版mysql安装问题解决办法

    1.下载绿色版mysql 从该地址http://dev.mysql.com/downloads/mysql/ 中选择windows的版本,选择下载. 2.将下载的压缩包解压. 3.将根目录下的my-d ...

  8. 【Vegas原创】Mysql绿色版安装方法

    所谓的绿色版,就是没有installer的MySQL,完全需要靠人工来操作,好处是,重装系统后,只要再做一次本次配置,即可使用. 具体操作方法: 1,设置系统环境变量, 在Path中添加 D:\mys ...

  9. Windows 64位 安装Oracle instantclient 官方绿色版和PL/SQL Developer 总结

    原文: http://blog.csdn.net/kimsoft/article/details/8751267 操作系统:Windows 7 64位旗舰 要求,安装PL/SQL Developer用 ...

随机推荐

  1. layui select 下拉框 级联 动态赋值 与获取选中值

    //下拉框必须在 class="layui-form" 里 不然监听事件没有作用 <div class="layui-form" > <div ...

  2. JS-SDK相关参考

    原文: https://www.cnblogs.com/wuhuacong/p/5482848.html https://www.cnblogs.com/29boke/p/5483599.html

  3. nginx配置socket连接

    author: headsen  chen date:  2019-08-08 18:52:36 notice :个人原创 Nginx通过在客户端和后端服务器之间建立隧道来支持WebSockets通信 ...

  4. c#反射动态创建窗体

    根据窗体的名称动态创建窗体 Assembly assembly = Assembly.GetExecutingAssembly();             // 实例化窗体 try { Form f ...

  5. Python去除文件中的空格、Tab键和回车

    def stripFile(oldFile, newFile): '''remove the space or Tab or enter in a file, and output a new fil ...

  6. mybatis xml <choose>标签使用

    <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mapper PUBLIC "-/ ...

  7. Spring cloud微服务安全实战-6-9sentinel之熔断降级

    来讲一下降级规则 服务会互相调用,服务A会有一些服务之间的依赖. 假设服务D的响应时间变长了.A调用D就会卡住了. 熔断,某一个服务出现问题,会把服务拖死.如果A出现,会把依赖A的那些服务拖死. 主要 ...

  8. MySQL数据库双机热备------主-主备份配置

    MySQL数据库双机热备------主-主备份配置 实验环境: 主1数据库 192.168.1.1 centos6.5 x86_64 +MySQL5.5.35 主2数据库192.168.1.2  Wi ...

  9. 转 mysql 存储过程初探

    https://www.cnblogs.com/qmfsun/p/4838032.htmlMySQL命令执行sql文件的两种方法 https://www.cnblogs.com/mark-chan/p ...

  10. Asynchronous Streaming Request Processing in Spring MVC 4.2 + Spring Boot(SpringBoot中处理异步流请求 SpringMvc4.2以上)

    With the release of Spring 4.2 version, Three new classes have been introduced to handle Requests As ...