2
All too often VS2005 will crash when compiling and I'll have to re-open it. That's all well and good, a minor inconvenience really. But the annoying part is that it remembers the opened files from the last time I manually closed VS2005 and not the files that were open when it crashed.
Is there some way to back up my current workspace (the open files) so when it crashes and I reload it, it will remember what I had open?
I don't know for sure, as there may be a way to hack it, but in general probably not, as the tabs to open next time are saved at the time of a proper shutdown of VS. – Ƭᴇcʜιᴇ007 – 2013-02-25T19:52:04.810
Any way to emulate this activity and put it on a scheduler? Happen to know where this is saved to? – Enigma – 2013-02-25T19:53:26.727
I think it's saved in the .SUO (Solution User Options) of the solution that was open when you closed VS. Check this out for some ideas perhaps?
– Ƭᴇcʜιᴇ007 – 2013-02-25T20:00:16.440Doesn't really help me as I don't know how I'd use it but it is informative. – Enigma – 2013-02-25T20:12:57.207
I think given the info from techie007's link, it might be useful to enquire on SO as to how (if it's even possible) you can send messages to VS to trigger the SaveUserOptions method on demand. – Karan – 2013-02-26T01:14:34.667