5

Where do the autorecover files get saved for linqpad? I lost some queries, and like SSMS, I'm hoping the files are still there, but the autorecover is just not pulling them up for some reason when I start up linqpad.

Alternatively, does linqpad compile to a temporary location? I could recover my work by decompiling the query.

b_levitt
  • 7,059
  • 2
  • 41
  • 56

2 Answers2

5

LINQPad's autorecover location is %temp%\LINQPad5

Under there, there are subfolders prefixed with an underscore for each active session. Inside the subfolders is a file with a .autosave extension. The query assemblies are also stored in there.

Joe Albahari
  • 30,118
  • 7
  • 80
  • 91
  • 2
    Just had an update to a newer version of windows 10 and it has moved the temp folder from c:\windows\users\xxx\appdata\local to c:\windows.old\users\xxx\appdata\local. So I was able to recover my unsaved queries by moving the LinqPad5 back to the new temp folder. – sgmoore Sep 26 '16 at 08:35
1

Found my unsaved queries in C:\Users\<user>\AppData\Local\LINQPad\Sessions\LINQPad6 grouped by session folders.

svonidze
  • 151
  • 8