Category: Visual Studio
view more software Tips and Tricks
Updated: 10/02/2012 08:10 AM
Author: Shiju Mathews
Today I got an error when I am working on a project in Visual studio 2012. The project is compiling perfectly. But when I am trying to run the project I am getting an error saying that 'Error While trying to run project: uncaught exception thrown by method called thru reflection.'.
The error can be eliminated by the following steps.
1. Go to the project right click and select properties.
2. Select 'Debug' tab on the left.
3. GO to ‘Enable Debuggers’ on the bottom
4 Check ‘Enable Native code debugging’ check box
5 Run the project