I'm trying to convert a Web Site (web forms) to a Web Application (also web forms). I've converted all files via "Convert to Web Application" from Visual Studio; this created a bunch of designer.cs files.
From what I understand these files contain code that is extracted from the main .cs file to avoid developers tempering with it; and to make it work the classes in both the .cs file and the .designer.cs file are declared partial.
Unfortunately when developing .aspx pages, the code behind class was often named randomly (often times just "Page") and now I find a whole lot of compilation errors that find conflicting names between all these different pages partial class.
Is there any way to regenerate these class names to something appropriate so that they don't conflict with each other? Even just something based on the path to the file would be enough.