It was about midnight as I finally completed the last open issues before the first round of customer acceptance testing. With a click of a button the I put my faith in Publish website, with a good feeling that I would be in bed before the cat came home.
ALAS this was not to be. The website wouldn't start, it hung and seemed to be dying a horrid death. After turning off the error pages which in my tired state to about 20 mins to realize would help, I was faced with this
The resource class for this page was not found.
strange I thought, and publisher again. Same issue. Started looking around the web and found something about changes to the file can cause problems and that it needed to recompile. OK try a clean build. Same issue.
OK think, I opened my FTP client and navigated to the site and the lights came on. Strange the whole App_LocalResources Folder was missing. After 'bingin' around I found some references to this.
Seems that the .RESX files are not being copied as part of the build and to change this you must change the build type to content.
http://forums.asp.net/t/1245742.aspx for example.
I guess its just one of those things but sometimes these little gotchas get you when you least expect it.