home / software / tips and tricks / Error While trying to run project uncaught exception thrown by method called thru reflection.

Error While trying to run project uncaught exception thrown by method called thru reflection.

Category: Visual Studio
view more software Tips and Tricks
Updated:  10/02/2012 08:10 AM
Author:  Shiju Mathews

Status:    Resolved.


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
Tags: Error While trying to run project uncaught exception thrown by method called thru reflection.
Updated on: April 2024