2014年2月8日

ErrorObject OpenAsync(Action<ErrorObject>arg_fnRet)

摘要: ErrorObject OpenAsync(Actionarg_fnRet) public static ErrorObject Open(this ReadWrite arg_rw,IPEndPoint arg_ipport) { var smph =... 阅读全文

posted @ 2014-02-08 22:36 norsd 阅读(151) 评论(0) 推荐(0) 编辑

如何在Template Codes 中能够加载所在的Project的Assembly,获取所有Type

摘要: 1.首先要获取Project对象 2.分析得到Project对象生成的bin路径,也就是$(TargetPath) 3.Assembly.LoadFromFile( binpath ) 4.asm.GetTypes(),这里要注意处理Reference Project 代码如下: 1.Get... 阅读全文

posted @ 2014-02-08 18:47 norsd 阅读(153) 评论(0) 推荐(0) 编辑

Template Code 无法使用 this.Host 报错

摘要: 问题显示: Error 6 Compiling transformation: 'Microsoft.VisualStudio.TextTemplatingBED07DAE3B6FD53FA947017E5A5F7A123173F8AEEBD8059AD94FFEA4200EC409BE022... 阅读全文

posted @ 2014-02-08 17:08 norsd 阅读(323) 评论(0) 推荐(0) 编辑

导航