locked
MapPoint Could not load type 'MapPoint.IMappointCtrl' RRS feed

  • Question

  • As per title really.

    I have (inherited) an application that uses map point.
    When I try to run the app in VS2010 I get the error Could not load type 'MapPoint.IMappointCtrl' from assembly 'Interop.MapPoint, Version=8.3.0.0, Culture=neutral, PublicKeyToken=null'.

    I have tried uninstalling/re-installing mappoint at versions 2006,2011 & 2013 but all the same.
    I have remove the references from the project and re-added them with no success.

    If I try to edit the form in the IDE I get the following errors displayed:

    Could not find type
    'AxMapPoint.AxMappointControl'. Please make sure that the assembly that contains
    this type is referenced. If this type is a part of your development project,
    make sure that the project has been successfully built using settings for your
    current platform or Any CPU.
     
    Instances of this error (1)
    1. There is no stack trace or error line information
    available for this error.
     
    Help with this error
    Could not find an associated help topic for this error.
    Check Windows Forms Design-Time
    error list
     
    Forum posts about this error
    Search the MSDN Forums for posts related
    to this error
     
    The variable 'AxMappointControl1'
    is either undeclared or was never assigned.

    both interop.mappoint and axinterop.mappoint are added as references.

    Any help greatly appreciated.

    Thursday, December 12, 2013 10:21 AM

All replies

  • Check the references - are they valid - ie. point to real COM libraries, and not 'dead' references that no longer connect?


    Richard Marsden
    MapPoint Add-ins at Mapping-Tools.com

    Friday, December 13, 2013 3:21 PM
  • Thanks for taking the time to reply Richard.
    They are the latest versions, I have copied them to the bin folder and removed & re-added the references.
    It almost looks like a control has been removed from the latest version!

     

    Friday, December 13, 2013 3:29 PM