Help! My .cs Code Behind files have vanished from the solution explorer

Hi There,

I am fairly new to VS2005 so please be patient!

I have created a website in VS2005 and created a few .aspx pages with the relevant .cs files behind them. Also created a couple of classes in the app_code folder. Then, I published the new site. When I go back to VS solution explorer I now can't see app_code folder or any of my .cs files for the .aspx pages. I REALLY need to get these files back so I can change them further.

Could someone please tell me how get these files back I'm guessing they've been compiled into the dll when I published the site.

Thank you so much if you can help me!!

Kind Regards,

Matt



Answer this question

Help! My .cs Code Behind files have vanished from the solution explorer

  • Leonard Lee

    Hi,

    Compiling those files will not delete them. Search your folders for those files, if you find them you can add them as "add existing item" into your project again. Put all your cs files on the App_Code folder next time.

    Cheers



  • Help! My .cs Code Behind files have vanished from the solution explorer