Settings.Designer.cs deleted

  • Thread starter Thread starter John A Grandy
  • Start date Start date
J

John A Grandy

My Properties\Settings.Designer.cs file someone got deleted.

Is there anything I can do short of creating a new project ?

Thanks.
 
Hi John,

The designer.cs file is only used when you refer to the settings in code.
It isn't necessary to keep track of the properties, so if you accidentally
delete it, open the property designer by double clicking the settings file
and add a new setting. The designer.cs file should then be recreated when
you rebuild the project or close the settings file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top