Search code examples
c#formsc#-3.0resx

What is the form1.resx file ? Can we delete this and still run error free?


I want to know what this form1.resx button is all about. I read up this thread and got to know more about the Program.cs(main() file), form1.cs(logical code) and form1.Designer.cs(UI related code) but not the form1.resx file. Is there any harm if I delete it. What is the purpose of the form1.resx file ??

Many Thanks


Solution

  • My suggestion is to open the file in a text editor - preferable with XML highlighting. You will see a very well commented XML file with information about the form's resources. My understanding is that if you delete the file, external resources associated with the form will be lost.