Resolved Getting an error message when dragging seat object onto user control

sock1992

Well-known member
Joined
May 20, 2020
Messages
107
Programming Experience
Beginner
I made a Seat class and inherited the PictureBox class:

C#:
    class seat : PictureBox
    {
        public string Row { get; set; }
        public int Number { get; set; }
        public string Seat => $"{Row}{Number}";
        public bool Available { get; set; }
    }
}



I'm getting the following pop up box when attempting to drag the item into the user control and i have no idea why.

1616349464381.png


Does anyone know why this is?
 
Very likely, your assembly didn't build correctly and so the reference the toolbox has is pointing to a non-existent assembly.
 
Very likely, your assembly didn't build correctly and so the reference the toolbox has is pointing to a non-existent assembly.
I set the platform target to ANY CPU, rebuilt my project like 5 times, cleaned the solution and now it works :D
 
Back
Top Bottom