问题描述
我在制作略微小于琐碎的东西时崩溃了LinqPad。我不想重新启动它,直到我确定不会危及恢复我的工作(如果这是可能的)。我的问题是:LinqPad写临时文件anyware,可能仍然包含我写的代码?
I crashed LinqPad while crafting something slightly less than trivial. I don't want to restart it until I'm sure that won't jeopardise recovering my work (if this is possible). My question is: Does LinqPad write temp files anyware that might still contain the code I wrote?
对于后代,这里是一个测试用例每次崩溃LinqPad 中提供。获取测试版以利用它,或者它可能已经在发布版本为未来的读者的这篇文章。如果LINQPad在崩溃后启动,它会弹出一个对话框,询问您是否要恢复未保存的查询。
UPDATE: an auto-recovery feature has been added to LINQPad (Beta, at the time of this writing). To my knowledge it has been available in the Beta version as early as v4.28.3. Get the beta to take advantage of it, or it may already be in the release version for future readers of this post. If LINQPad is launched after it crashes it will throw a dialog up asking whether or not you would like to recover unsaved queries.
这篇关于LinqPad刚刚撞我了。我的代码在磁盘上的任何地方?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!