Regenerate Deleted Forms Designer .resx File

| No Comments

My friend Andy asked me a few minutes ago how to recover from inadvertantly deleting a Forms Designer generated .resx file. In order to recover from this unfortunate happenstance, I had him do the following:

  • Open the .csproj file in his editor of choice.
  • Locate the <File> element that references the .resx file.
  • Delete the element.
  • Close up shop and relaunch the project file in VS.NET
  • Open the form in the designer. The .resx file will be regenerated by the IDE.
  • Drink a beer.
After completing those afformentioned steps, the sun shined, the birds sang, and all things were good. :)

Leave a comment

Bookmark and Share

About this Entry

This page contains a single entry by DrFooMod2 published on July 19, 2004 1:39 PM.

The Ultimate in Massivity was the previous entry in this blog.

Pet Peeves is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.