Author Topic: ShapeContainer is "ambiguous" in the namespace  (Read 2587 times)

chunt

  • Newbie
  • *
  • Posts: 14
    • View Profile
ShapeContainer is "ambiguous" in the namespace
« on: April 21, 2014, 03:16:05 PM »
Hello all, I am new to the forum and advanced HMI. I am getting the following error message when building the solution.

"ShapeContainer is ambiguous in the namespace Microsoft.VisualBasic.Poweracks."

Any help would be great. Thanks

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5311
    • View Profile
    • AdvancedHMI
Re: ShapeContainer is "ambiguous" in the namespace
« Reply #1 on: April 21, 2014, 03:37:22 PM »
The power packs has caused many problems because it seems to be automatically installed on most Express versions, but not on the professional version. This is the best thing to do:

- Right click AdvancedHMI in the Solution Explorer and go to Properties
- Select the References Tab
- Remove the reference to the Power Packs
- In the components folder under the AdvancedHMI project, delete the Resizer.vb

« Last Edit: April 21, 2014, 04:41:50 PM by Archie »

chunt

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: ShapeContainer is "ambiguous" in the namespace
« Reply #2 on: April 21, 2014, 03:45:43 PM »
That took care of it. Thanks for the quick reply and great product. Keep it up!