How do I recover lost aspx and solution files

TheNewbie 1 Reputation point
2021-03-28T13:49:13.137+00:00

So I made a web application via Visual studio 2017 then just 2 days ago I moved the project folder to a different location, (without checking if it moved the aspx files etc. Yes I am stupid :( )

Now today, I checked that folder only to find that all my aspx files/cs files are gone. The folders left are the css, js, app_code folder (without cs files) etc.

Now I have no idea where the files are (could it be permanently removed??)

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,108 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dylan Zhu-MSFT 6,416 Reputation points
    2021-03-29T06:53:56.963+00:00

    Hi TheNewbie,

    You can confirm the backup folder in C:\Users\{username}\AppData\Local\Microsoft\VisualStudio\BackupFiles and C:\Users\{username}\Documents\Visual Studio 2019\Backup Files.

    If there are not files in them, I'm afraid that you need to recreate them.

    Best Regards,
    Dylan


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our **documentation to enable e-mail notifications if you want to receive the related email notification for this thread.**

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.