Search code examples
frameworks.net-2.0

Check if .NET 2.0 is properly installed


Is there anyway i can check if .NET 2.0 is installed without any errors?


Solution

  • This blog post describes two options for checking for a .NET installation, as well as retrieving versioning information.

    The second option (using CorBindToRuntime) will fail if the .NET installation cannot be loaded. This might help you determine if there are any errors in the install - or at least whether the framework loads properly.