Error while trying to run project uncaught exception thrown by method called through reflection

Hi,

Today I was working with the console application got the below error while debugging the code.

“Error while trying to run project uncaught exception thrown by method called through reflection”

After some time found the solution for this.

  1. Go to the project right click and select property
  2. Select ‘Debug’ tab on the left
  3. Check ‘Enable Native code debugging’ (or ‘Enable unmanaged code debugging’, depends on version) check box.
  4. Run the project

Hope this helps.


Happy CRM’ing
Gopinath.

One thought on “Error while trying to run project uncaught exception thrown by method called through reflection

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s