pana
pana

Reputation: 21

C# [Design] lost .. only .designer left

I did a huge plunder and accidentally lost my *.cs (Design file).. I just got the *.designer file left.

Can I go the other way around and create somehow a Design-File (*.cs) only with the .designer file or do I have to start over?

Upvotes: 2

Views: 153

Answers (1)

Rahul Nikate
Rahul Nikate

Reputation: 6337

Please have a look in Recycle Bin and click restore. So you will get your file back in visual studio solution explorer with excluded status. Right click and include in project.

To avoid this type situations, use version controls in your project like:

Upvotes: 4

Related Questions