ArcGIS Explorer SDK Feedback via the User Forum
Adding and Deploying Custom Tasks

Glossary Item Box

How To Deploy a Task Assembly

This topic reviews the steps required for deploying a custom task assembly to another machine, using the automatic downloading mechanism which is part of ArcGIS Explorer. It provides a summary of the information in the Deploying a task using an NMF file topic.

If your custom task includes other files which must also be deployed along with the task assembly, then you may wish to deploy using a task zip file instead.

Note
It is highly recommended that you ensure you have also reviewed the conceptual documentation on How Explorer loads custom task assemblies.

Steps for Deploying a Task Assembly

  1. Open your custom task project and ensure the version and culture of the assembly are set as you require, and ideally sign the assemly to ensure it has a strong name. Rebuild the assembly.
  2. Build and test your custom task project on the development machine.
    See the Using a post-build event to set up a custom task topic for more information.
  3. Copy the task assembly to the location from where your users will download it. Ensure this location is accessible to your users.
  4. Copy the resulting dll to a location which is accessible from the other computers on which you want to use the task. For example:
        \\MyServer\PublicShareName\SampleTask.dll
  5. Copy the .NMF file which is part of the custom task project to this location also, or to another location which is accessible to your user.
  6. Update the NMF file containing information about your task with the correct assembly name, version, culture, public key token, and download location of your task assembly.

Now you can allow your users to access your task either by opening a map NMF which contains the details of the task, or by distributing a task NMF which contains  the details of your task, allowing users to add the task to an existing map.