English

Error: Validation warning: The xmlns 'http://www.esri.com/schemas/ArcGISExplorer/1500/Addins' is missing from the ExplorerAddIns element

Error Message

Building an ArcGIS Explorer add-in project in Visual Studio can result in a warning in the Visual Studio Error List window with the following message:

"Validation warning: The xmlns 'http://www.esri.com/schemas/ArcGISExplorer/1500/Addins' is missing from the ExplorerAddIns element. It is not required, but adding it will enable intellisense support in the addins.xml file."

Cause

An additional optional XML attribute has been added in ArcGIS Explorer 1500, which enables IntelliSense within Visual Studio for the AddIns.xml file. This attribute is not present in any add-in projects created by a previous version of the ArcGIS Explorer SDK for the Microsoft .NET Framework. This causes a warning if the add-in project is built on a machine on which ArcGIS Explorer 1500 or later is installed.

Solution or Workaround

To resolve this warning and enable IntelliSense in add-in projects that were created by previous versions of ArcGIS Explorer, use the following steps to add the xmlns attribute.

  1. In Visual Studio, open the AddIns.xml file that is part of the add-in project.
  2. In the editor window, add the following attribute to the top-level ExplorerAddIns node:
    xmlns="http://www.esri.com/schemas/ArcGISExplorer/1500/Addins"
    The file contents may look something like this:

    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <ExplorerAddIns
    groupCaption="My Add-ins"
    name="Demo"
    description="Demo Add-in"
    publisher="ESRI"
    xmlns="http://www.esri.com/schemas/ArcGISExplorer/1500/Addins">
    [...]
    </ExplorerAddIns>

  3. Rebuild the project.

Related Information