今天在一台电脑上部署应用程序.
应用程序直接挂掉. 连try/catch都拦不住
经过艰难的调试才发现在 .net 3.5 下, 根本就没提供WaitHandle.WaitOne(TimeSpan)这个方法..
参考:
http://stackoverflow.com/questions/602619/system-missingmethodexception-3-5-sp1-versioning-hell
在部署应用程序过程中遇到难题,由于使用了不兼容的.NET版本导致应用程序崩溃。具体表现为在.NET 3.5环境下,WaitHandle类缺少WaitOne(TimeSpan)方法。
今天在一台电脑上部署应用程序.
应用程序直接挂掉. 连try/catch都拦不住
经过艰难的调试才发现在 .net 3.5 下, 根本就没提供WaitHandle.WaitOne(TimeSpan)这个方法..
参考:
http://stackoverflow.com/questions/602619/system-missingmethodexception-3-5-sp1-versioning-hell

被折叠的 条评论
为什么被折叠?