I want to change my C# project, which is based on the .NET 4.0 to 3.5. So I changed the project\'s target-framework to 3.5.
After re-opening and trying to compile the pr
I had this error when I installed a COM component in NET 4.5 then downgraded to NET 4.0. Removing and adding the reference made no difference.
I found this helpful.
* Solution or Workaround Change the default Platform Target CPU to allow applications to run on 64-bit machines. *
http://forums.arcgis.com/threads/19335-COM-Exception-was-unhandled-and-Class-not-registered
The NET 4.0 target environment for me is 32bit, so I get the Target CPU down to x86 in the properties window. Now it runs.