PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Framework Forms Settings.Designer.cs deleted

Reply

Settings.Designer.cs deleted

 
Thread Tools Rate Thread
Old 20-06-2008, 10:49 PM   #1
John A Grandy
Guest
 
Posts: n/a
Default Settings.Designer.cs deleted


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

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

Thanks.


  Reply With Quote
Old 23-06-2008, 07:00 AM   #2
Morten Wennevik [C# MVP]
Guest
 
Posts: n/a
Default RE: Settings.Designer.cs deleted

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.

--
Happy Coding!
Morten Wennevik [C# MVP]


"John A Grandy" wrote:

> My Properties\Settings.Designer.cs file someone got deleted.
>
> Is there anything I can do short of creating a new project ?
>
> Thanks.
>
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off