I ran into the problem recently where Visual Studio 2008 could not generate the designer file for a page that was using a custom control that had templated sections. I scoured the internet and couldn’t find anything so I resorted to some old school techniques. Here are the steps I took:
- Rebooted (It is Microsoft after all)
- Deleted all of the files out of C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files
- Opened the Solution
- Ran a Clean on the solution
- Rebuilt
That seemed to work. Just a little heads up for other people like me. I am currently running Windows XP but upgrading to Windows 7 in September.