09 2007 档案
静态构造函数线程安全的几个版本[转载]
摘要:Implementing the Singleton Pattern in C#原文:http://www.yoda.arachsys.com/csharp/singleton.htmlThe singleton pattern is one of the best-known patterns in software engineering. Essentially, a singleton i... 阅读全文
posted @ 2007-09-13 14:38 thh 阅读(665) 评论(0) 推荐(0)
区域性 ID 2155 (0x086B)不是受支持的区域性 解决方法
摘要:在给程序添加Nhibernate.dll引用后,居然出现:错误 MSB3095: 参数无效。区域性 ID 2155 (0x086B)不是受支持的区域性。在网上好多地方都没有找到解决办法,只好直接奋斗以下。 想了个歪主意,通过.net 2.0的配置控制台,把Nhibernate.dll添加到程序集缓存中,然后在项目中用应用GAC里的NHibernate,重新编译通过了。 怪问题..... 阅读全文
posted @ 2007-09-11 17:21 thh 阅读(1146) 评论(2) 推荐(0)