VS.NET 2005, Windows Forms App, C#
Hi All,
I am using a generic List for the first time and I am getting strange problems with the designer.
I have a user control which has the following generic list property:
Code:
private List<BOL.Trip> trips = new List<BOL.Trip>();
Code:
public List<BOL.Trip> Trips { get { return trips; } set { trips = value; } }
When I add this control to another user control i get the following error in the designer for the consuming Control:
Code:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes.
Object of type 'DMWhiteboard.BOL.Trip[]' cannot be converted to type 'DMWhiteboard.BOL.Trip[]'.
The project builds with the following warning.
Code:
Warning 1 ResX file Object of type 'DMWhiteboard.BOL.Trip[]' cannot be converted to type 'DMWhiteboard.BOL.Trip[]'. Line 129, position 5. cannot be parsed. 129 0
However there is no line 129 in the resx code file.
Any Assistance would be greatly appreciated.
======================================
They say, best men are molded out of faults,
And, for the most, become much more the better
For being a little bad.
======================================