How to add your knowledge

Adding References To Your Project

    Table of contents
    No headers

    In order for the project to work properly, you must add a number of AutoCAD Map 3D class references.

    1. In the Solution Explorer pane, right-click on the project node select Add Reference....
    2. In the Add Reference dialog box, click the Browse tab.
    3. Browse to the location of the AutoCAD Map 3D Client bin folder. Multiselect four files by holding down the Ctrl key, click on the following:
      • Autodesk.Map.IM.Data.dll
      • Autodesk.Map.IM.Forms.dll
      • Autodesk.Map.IM.Graphic.dll
      • Autodesk.Map.IM.Map.dll
      Note

      Not all plugins require all of these references. Some other kinds of plugins have their own requirements. For example, workflows require a reference to Autodesk.Map.IM.Workflows.

    4. Click OK.
    5. In the Editor pane note that the properties tab label has an asterisk appended to it again. Click the References vertical tab. Note that Autodesk.Map.IM.Data.dll, Autodesk.Map.IM.Forms.dll, Autodesk.Map.IM.Graphic.dll, and Autodesk.Map.IM.Map.dll have all been added to the References list box.
    6. In the References list box, do the following for each of these .dll’s:
      1. Select it. The result is that the Properties pane is populated with the properties associated with that .dll.
      2. In the Properties pane, select the Copy Local property. This displays a select control in the box containing the value for this property.
        Note

        This also displays help text for that property, which reads: Indicates Whether The Reference Will Be Copied To The Output Directory.

      3. Use the select control to change the value of this property to False.
      4. In the Properties pane, select the Specific Version property. This displays a select control in the box containing the value for this property.
        Note

        This also displays help text for that property, which reads: Indicates Whether This Reference Is To A Specific Version Of An Assembly.

      5. Use the select control to change the value of this property to False.
    7. Save the properties.