Select to view content in your preferred language

UID is ambiguous in namespace ESRI.ArcGIS.esriSystem

2887
1
06-30-2010 06:52 AM
CharlieHarper
Emerging Contributor
In VS Express 2008, when I add a dockable window using a template, I am encountering the error "UID is ambiguous in the namespace ESRI.ArcGIS.esriSystem."  This occurs in the following autogenerated routine which is called from the OnClick event:

    Private Sub SetupDockableWindow()
        If m_dockableWindow Is Nothing Then
            Dim dockWindowManager As IDockableWindowManager
            dockWindowManager = CType(m_application, IDockableWindowManager)
            If Not dockWindowManager Is Nothing Then
                Dim windowID As UID = New UIDClass
                windowID.Value = DockableWindowGuid
                m_dockableWindow = dockWindowManager.GetDockableWindow(DockableWindowGuid)
            End If
        End If
    End Sub
End Class

Any ideas on how to fix this namespace issue?
0 Kudos
1 Reply
CharlieHarper
Emerging Contributor
I have solved this issue. There was a problem with unnecessary references to the system namespace in my project.
0 Kudos