We help IT Professionals succeed at work.

'SettingsSingleFileGenerator' 'ResXFileCodeGenerator' problem

I have a c# application.  I have just opened it up after a week in Visual Studio 2008 and I have seemed to have lost all my dialogs.  It says:
"The custom tool 'ResXFileCodeGenerator' failed while processing the file 'Properties\Resources.resx"      
"The custom tool 'SettingsSingleFileGenerator' failed while processing the file 'Properties\Settings.settings"

Please see the attached file to see my dialogs missing.

Why has this happened?? Can I fix this? If not I will have lost a serious amount of work as my dialogs took a lot of time.

Watch Question

Have you checked your working project file for the existence of these files? or alternatively on solution explorer check show all files and see if something has renamed them or the proj file has somehow become corrupted.
Next step would of course be to run a search over your file system for any of these files. It seems odd thats its all the cs files. If you store these files in your windows profile contact your network admin see if they have run a filter over network files and (re)moved them. Anyother thought would be an over eager anti virus app quarantining them.

Hope that helps


Hi there,

I have checked and these files are not there in my project directory.  I have also searched for them on my computer and they are not there.

I will check the 'show all files' just in case they have been renamed somehow.

I'll get back to you.


Unfortunately thats not sounding hopeful. Ive never seen that happen before when just reopening the project, I know it can occur when upgrading projects.

I know this probably comes as some harsh consolation but to avoid this occurring or reducing the cost when it does I use Visual studio with TFS server (Cost involved) or Visual Studio with Subversion utilising VisualSVN Server (http://www.visualsvn.com/server/) and the Ankh svn client that integrates (http://ankhsvn.open.collab.net/) both have no cost dependent on your options you want and both are wonderfully easy to set up.

When i have been naughty and not checked in work I have SyncBack configured to back up all my working areas (http://www.2brightsparks.com/freeware/freeware-hub.html)