I need to get existing web pages into an existing ASP.NET web site in Visual Studio 2008. I simply tried to drag and drop the whole file folder content into the Visual Studio Solution Explorer or even to copy them into the web site folder.
Both ways, Visual Studio seems unable to map the .designer.cs files to the corresponding .aspx (or .master) file, even after restarting the whole IDE. The Solution Explorer entry looks in a way like this:
- Main.aspx
Main.aspx.cs
Main.aspx.designer.cs
Can I make Visual Studio file the designer-file below the aspx-file in any way? Building the website becomes a problem too that way, but that's the next problem I'm going to work on. :-)
I strongly hope there is a simpler way than manualle creating each file and copying and pasting the contents into each file by hand.
Thank you for any idea!
Cheers Matthias