OP, I would quickly assume that they did not add their .net developer kit and use the Template to create their addin...My is the Namespace created when created using the Developer Template addin CLASS.(Your addin solution)Namespace My will contain the Friend Module ThisAddin and pass any XML information to the Solution project.Friend Module ArcMap
Private s_app As ESRI.ArcGIS.Framework.IApplication
Private s_docEvent As ESRI.ArcGIS.ArcMapUI.IDocumentEvents_Event
Public ReadOnly Property Application() As ESRI.ArcGIS.Framework.IApplication
Get
If s_app Is Nothing Then
s_app = TryCast(Internal.AddInStartupObject.GetHook(Of ESRI.ArcGIS.ArcMapUI.IMxApplication)(), ESRI.ArcGIS.Framework.IApplication)
End If
Return s_app
End Get
End Property
Public ReadOnly Property Document() As ESRI.ArcGIS.ArcMapUI.IMxDocument
Get
If Application IsNot Nothing Then
Return TryCast(Application.Document, ESRI.ArcGIS.ArcMapUI.IMxDocument)
End If
Return Nothing
End Get
End Property
Public ReadOnly Property ThisApplication() As ESRI.ArcGIS.ArcMapUI.IMxApplication
Get
Return TryCast(Application, ESRI.ArcGIS.ArcMapUI.IMxApplication)
End Get
End Property
Public ReadOnly Property DockableWindowManager() As ESRI.ArcGIS.Framework.IDockableWindowManager
Get
Return TryCast(Application, ESRI.ArcGIS.Framework.IDockableWindowManager)
End Get
End Property
Public ReadOnly Property Events() As ESRI.ArcGIS.ArcMapUI.IDocumentEvents_Event
Get
s_docEvent = TryCast(Document, ESRI.ArcGIS.ArcMapUI.IDocumentEvents_Event)
Return s_docEvent
End Get
End Property
End Module
Then you can use My namespace and get ArcMap.Applicationrhalko:Why should ESRI document how to use XML? We all know special characters in different codes require attention. Hopefully your afternoon gets better now that you found what was wrong.XML charactersIf you want to use & &e.g. <company>AT&T</company>