COM中需要调用AddRef和Release的10条规律
摘要:COM中需要调用AddRef和Release的10条规律
阅读全文
posted @
2016-11-28 10:30
今夜太冷
阅读(921)
推荐(0) 编辑
VS SETUP项目更新的问题
摘要:用VS建立了一个SetUp类型的项目,build以后将生成的setup文件在机器上安装,然后再rebuild,再安装新生成的setup文件,会出现如下的提示信息: Another version of this product is already installed. Installation of this version cannot continue. To configure or re...
阅读全文
posted @
2016-11-25 14:47
今夜太冷
阅读(1362)
推荐(0) 编辑
Nuget版本冲突的问题
摘要:有两个类库项目,一个引用了比如Newtonsoft.Json 6.0, 另一个引用了比如Newtonsoft.Json 8.0, 然后另一个exe项目同时引用了这两个类库项目。 那么在编译的时候会报warning: No way to resolve conflict between "Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, Publi...
阅读全文
posted @
2016-11-24 15:26
今夜太冷
阅读(2103)
推荐(0) 编辑
删除注释云平台JS,加快DISCUZ访问
摘要:对于港台或者美国服务器的用户可能感觉访问慢,页面卡;实际上是由于 http://www.discuzlab.com/discuz.gtimg.cn/cloud/scripts/discuz_tips.js?v=1 这个JS拖慢运行速度导致的,这个时候你可以考虑是否运用本方法。注意:本修改方法涉及源码的修改,可能导致云平台的功能无法完整有效的使用,可能导致升级后失效,请自行决定是否使用本...
阅读全文
posted @
2016-11-13 19:27
今夜太冷
阅读(3273)
推荐(0) 编辑
Managing IIS Log File Storage
摘要:Managing IIS Log File Storage You can manage the amount of server disk space that Internet Information Services (IIS) log files consume by using compression, remote storage, scripted deletion, and a...
阅读全文
posted @
2016-11-09 10:46
今夜太冷
阅读(298)
推荐(0) 编辑
C# windows form如何隐藏窗口?
摘要:you can use this line of code. It wont hide it, but it will be minimized: this.WindowState = FormWindowState.Minimized; in addition, if you don't want it showing on the task bar either, you ...
阅读全文
posted @
2016-11-08 14:09
今夜太冷
阅读(2788)
推荐(0) 编辑
SharePoint Style Library的权限问题
摘要:Style Library是属于site collection级别的。 所以如果在某一个site中直接给某个用户设置了比如Full control的权限,这个权限信息并不会自动进入Style Library的权限设置中。 但是如果在某一个site中将用户加入到某个默认的SharePoint组(比如…
阅读全文
posted @
2016-11-08 11:49
今夜太冷
阅读(461)
推荐(0) 编辑
解决错误 Cannot await in the body of a catch clause
摘要:解决错误 Cannot await in the body of a catch clause static async Task f() { ExceptionDispatchInfo capturedException = null; try { await TaskThatFails(); } ...
阅读全文
posted @
2016-11-03 13:40
今夜太冷
阅读(566)
推荐(0) 编辑