Espaço de trabalho do VS2005 de back-up automático

2

Frequentemente, o VS2005 irá travar durante a compilação e eu terei que reabri-lo. Isso é tudo muito bem, um pequeno inconveniente realmente. Mas a parte chata é que ele se lembra dos arquivos abertos da última vez que eu fechei manualmente VS2005 e não os arquivos que estavam abertos quando ele falhou.

Existe alguma maneira de fazer backup do meu espaço de trabalho atual (os arquivos abertos), então quando ele falha e eu o recarrego, ele se lembra do que eu tinha aberto?

    
por Enigma 25.02.2013 / 20:40

1 resposta

0

Informações potencialmente relevantes do link do techie007:

When the solution is saved or closed, the environment calls the SavePackageSolutionProps method with a pointer to the SaveUserOptions method. An IStream containing the binary information to be saved is passed to the WriteUserOptions method, which then writes the information to the .suo file and calls the SaveUserOptions method again to see if there is another stream of information to write to the .suo file.

These two methods, SaveUserOptions and WriteUserOptions, are called recursively for each stream of information to be saved to the .suo file, passing in the pointer to IVsSolutionPersistence. They are called recursively to allow for the writing of multiple streams to the .suo file. In that way, user information is persisted with the solution and is guaranteed to be there the next time the solution is opened.

    
por 03.11.2015 / 22:28