Vikas Ahlawat

Vikas Ahlawat

  • NA
  • 564
  • 818k

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

Sep 29 2010 1:38 AM
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)