Quote:Ok - assuming you have a backup, this is how I would tackle it: Delete the csproj file From within Windows Explorer, delete any designer.cs files Still in Explorer, create an App_Code folder at the root of the site Find any *.cs files that aren't code behinds (eg., .ascx.cs or .aspx.cs) and move them into the App_Code folder Open in Visual Studio as Web Site project Verify .NET FX version Change CodeBehind= to CodeFile= in any .aspx or .ascx files Readd any 3rd party references There's some potential complications around Global.asax, ASHX handlers (need to be inline) and referencing pages and controls. You'll have to deal with those manually, I'm afraid - but if it's a smallish effort, it should be easily doable.
designer.cs
*.cs
.ascx.cs
.aspx.cs
CodeBehind=
CodeFile=
.aspx
.ascx
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)