How to avoid MissingMethodException?

If .NET 3.5 is installed but not .NET 3.5 SP1, WaitHandle.WaitOne(int)throws MissingMethodException. I would like to receive a notification earlier if the correct version of .NET libraries is not available, for example, when the application is running. Is it possible?

Update : So my question is twofold:

  • a) How to determine which version of the .NET library an application requires?
  • b) How to determine the currently installed version of the .NET library?
+3
source share
1 answer

You can check the version of the Framework in the registry, see: fooobar.com/questions/25004 / ...

+1
source

Source: https://habr.com/ru/post/1744901/


All Articles