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
Loading

Aaron ColenPosted Sep 29, 2010, 8:31 AM
partial class YOURFORMNAMEHERE
{
private System.ComponentModel.IContainer components = null;
...
This is a required variable that is automatically created when you create a new form.