4

What does this error mean? I am currently using Windows 8 and installed Microsoft Visual Studio 2012 Ultimate. The first time I installed vs2012 there were no errors. However, when I modified the settings in msconfig, which returned to its default after restarting the computer, there were compatiily issues with vs2012. I don't know how to uninstall vs2012 because there are several applications included in the entire package of installing vs2012. I uninstalled VS2012 application but it was not effectively removed from my computer. I reinstalled vs 2012 using a different installer which enabled me to read my source codes. However when I ran the program this error occurred. How can I solve this error?

mc8
  • 315
  • 7
  • 21

1 Answers1

13
  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’ (or 'Enable unmanaged code debugging', depends on version) check box
  5. Run the project! =]
GalDude33
  • 7,071
  • 1
  • 28
  • 38
  • As suggested by answers to [error-while-trying-to-run-project-uncaught-exception-thrown-by-method-called-thr](https://stackoverflow.com/questions/17146438/error-while-trying-to-run-project-uncaught-exception-thrown-by-method-called-thr) @GalDude33 response didn't work in all situations. I had to use VS2012 "repair" option through windows control panel to fix this issue. I didn't have to do a full re-install. – aitorpazos Apr 03 '16 at 14:34
  • 1
    What if it is a web project? There is no "Debug" tab on the properties. – Blaise Jun 05 '17 at 15:23
  • @blaise in "Web" tab there is "Native Code" checkbox. – Salar Jul 08 '17 at 13:56