0

Every time I update something in windows forms, the references in "Designer.cs" file are deleted.

Exemple:

Before:

this.gbUserInfo.Controls.Add(this.btnSignIn);
this.gbUserInfo.Controls.Add(this.txtPartner);
this.gbUserInfo.Controls.Add(this.lblPartner);
this.gbUserInfo.Controls.Add(this.txtPassword);

after i update anything in the forms:

gbUserInfo.Controls.Add(btnSignIn);
gbUserInfo.Controls.Add(txtPartner);
gbUserInfo.Controls.Add(lblPartner);
gbUserInfo.Controls.Add(txtPassword);

It applies for all the file, so I have to rewrite manually.

Anyone knows what I can do about it?

I tried to uninstall and install again, import settings from another machine that is ok, but nothing seems to work

LarsTech
  • 80,625
  • 14
  • 153
  • 225

0 Answers0