麦田

不积跬步无以至千里.

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2017年4月12日

摘要: 为没有源码的DLL文件添加强名称 如果项目中引用了其他没有源码的dll文件,并且此dll文件是没有强名称的程序集,则编译时会出现类似 "Assembly generation failed -- 引用的程序集 'xxxxxxxxxxx' 没有强名称" 这样的错误。我这里引用的是Interop.Scr 阅读全文
posted @ 2017-04-12 16:31 一些记录 阅读(290) 评论(0) 推荐(0)

摘要: /// /// 获取网页的HTML码 /// /// 链接地址 /// 编码类型 /// public static string GetHtmlStr(string url, string encoding) { string htmlStr = ""; if (!String.IsNullOrEmpty(url)) { WebRequest re... 阅读全文
posted @ 2017-04-12 14:44 一些记录 阅读(314) 评论(0) 推荐(0)