2012年5月3日
摘要: Q:无法将类型“XXX”隐式转换为“XXX[]”orCannot implicitly convert type 'XXX' to 'XXX[]'只有当Release调试时才出现的,由于没有具体报错位置信息,搁置大半年一直没有解决,今天无意搜到解决方案,大喜,分享之。A:主要原因和引用WebService有关,搜索该关键字"XmlArrayItemAttribute",将typeof(XXX)改成typeof(XXX[]),OK。[via1][via2] 阅读全文
posted @ 2012-05-03 16:56 eshizhan 阅读(2884) 评论(0) 推荐(1) 编辑
摘要: 在VS2010中,当为Windows窗体应用程序添加一个安装项目后,如果项目生成时出现以下错误:验证时发生错误。HRESULT = '8000000A“解决的办法是:使用记事本或其他文本编辑器打开Setup.vdproj文件,删除以下行:"SccProjectName" = "8:""SccLoca... 阅读全文
posted @ 2012-05-03 16:23 eshizhan 阅读(7712) 评论(1) 推荐(1) 编辑
摘要: dig, nslookup, host tools in bind package# apt-get install bind# cat > /etc/resolv.confnameserver 8.8.8.8^Dif you don't need bind server, try following:# cp /usr/bin/dig /usr/bin/dig_# cp /usr/bin/nslookup /usr/bin/nslookup_# cp /usr/bin/host /usr/bin/host_# apt-get remove bind# mv /usr/bin/d 阅读全文
posted @ 2012-05-03 09:16 eshizhan 阅读(894) 评论(0) 推荐(0) 编辑