Author Topic: Namespace global contains a definition with same name as alias Alignment  (Read 4909 times)

lonewolfaka9

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
i updated to BGUI 3.5.9 and having unity pro 4.3.4f1

i'm getting following compiler error

  1. Assets/NGUI/Scripts/UI/UILabel.cs(58,43): error CS0576: Namespace `global::' contains a definition with same name as alias `Alignment'
  2.  
  3. Assets/NGUI/Scripts/UI/UILabel.cs(328,16): error CS0576: Namespace `global::' contains a definition with same name as alias `Alignment'
  4.  
  5. Assets/NGUI/Scripts/UI/UILabel.cs(328,16): error CS0576: Namespace `global::' contains a definition with same name as alias `Alignment'


any body you could suggest me a quick fix .. or change i shall make in code in order to resolve this



ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Find your class called "Alignment" that's in the global namespace, and rename it to be something else.