I developed an Add-In in VS2012 on my development environment. But when I deployed on other CPU's, the Add-In causes ArcMap crashing. The exception received shows that
System.NullReferenceException: Object reference not set to an instance of an object at ... Line 76
Line 76: m_mxDoc = (IMxDocument)m_app.Document;
// where the IApplication m_app is null;
What's the possible solution for solving this problem? Thanks.
Problem solved by re-set FW=4.0 from 4.5 (also including the runtime verion). Thanks.