Installation error 1001: ConfigurationErrorsException

Jan 31, 2013 at 8:23 PM
I've got following error while installing Xsd2Code:

Error 1001. Exception occurred while initializing the installation: System.Configuration.ConfigurationErrorsException: An error occurred creating the configuration section handler for system.diagnostics: Could not load file or assembly 'System, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. (C:\Windows\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 28).

It happens with versions:
  • 3.4
  • 3.6 alpha
Any ideas how to resolve that?
Apr 11, 2013 at 5:54 PM
I resolved this issue:

The problem was with machine.config in .NET Framework. I've reinstalled all existing .NET Frameworks (2.x and 4.x) and upgraded Visual Studio from 2010 to 2012. Now, Xsd2Code is installed with success.