开发者

How to avoid MissingMethodException?

开发者 https://www.devze.com 2022-12-30 08:39 出处:网络
If .NET 3.5 is installed, but not .NET 3.5 SP1, WaitHandle.WaitOne(int) throws a MissingMethodException. I\'开发者_运维技巧d like to be notified earlier on if the correct version of the .NET libraries

If .NET 3.5 is installed, but not .NET 3.5 SP1, WaitHandle.WaitOne(int) throws a MissingMethodException. I'开发者_运维技巧d like to be notified earlier on if the correct version of the .NET libraries is not available, for example when the application is started. Is this possible?

Update: So my question question is twofold:

  • a) How can I determine which version of the .NET library is required by an application?
  • b) How can I determine the currently installed version of the .NET library?


You can check Framework version in the registry, take a look: so

0

精彩评论

暂无评论...
验证码 换一张
取 消