1
Answer

system.componentmodel.container is missing how to add it?

Vikas Ahlawat

Vikas Ahlawat

14y
13k
1
I have converted a VB.NET project in C# (win application),
After conversion In Designer.cs under

InitializeComponent()
            {
           
                this.components = new System.ComponentModel.Container();


it show that form does not contain the definition of Components
and when i try to add reference then in reference here system.componentmodel.DataAnnotations appear
system.componentmodel.container not appear

And when i start a new window app. then under this i use this.com... then it does not give this type of error.
So how remove this error
Answers (1)