异常是发生只能在我的机器:未找到方法:WaitHandle.WaitOne(Int32)已 [英] Exception is occuring only on my machine: Method not found: WaitHandle.WaitOne(Int32)

查看:383
本文介绍了异常是发生只能在我的机器:未找到方法:WaitHandle.WaitOne(Int32)已的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

异常只是我的机器上存在的内部引用.dll文件:未找到方法:WaitHandle.WaitOne(Int32)在

Exception is occuring only on my machine inside a referenced .dll: Method not found: WaitHandle.WaitOne(Int32)

这似乎是一个.NET运行库版本的问题,但我已经安装了.NET 3.5和重新启动,我仍然看到了同样的问题。 GACUTIL显示mscorlib程序版本2.0.0.0。

This appears to be a .NET runtime version problem but I've installed .NET 3.5 and restarted and am still seeing the same issue. Gacutil shows mscorlib Version 2.0.0.0.

我们已经修改了code调用这两个参数的WaitOne()API,事情正在处理所有的机器。然而,这将有助于了解为什么在.NET 3.5安装一些设备不包含此功能的单个参数版本。

We have modified the code to call the two parameter WaitOne() API and things are working on all machines. However, it would be helpful to know why some machines with .NET 3.5 installs do not contain the single parameter version of this function.

推荐答案

MSDN 它看起来像 WaitHandle.WaitOne(Int32)在添加在SP1中。无论是检查该源,安装程序,或者使用2参数版本。

From MSDN it looks like WaitHandle.WaitOne(Int32) was added in SP1. Either check for this in the source, the installer, or use the 2 parameter version.

这篇关于异常是发生只能在我的机器:未找到方法:WaitHandle.WaitOne(Int32)已的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆