Troubleshooting Exceptions: System.InvalidProgramException
The exception that is thrown when a program contains invalid Microsoft intermediate language (MSIL) or metadata. This usually indicates an error in the compiler that generated the program.
See Also
Tasks
How to: Find Out More About an Exception with the Exception Assistant