Is it possible to open a project in Visual Studio 2008 without opening all the files that were previously opened last time I had the project open. I have a habit of keeping
A bit of research turns up the fact that you can do it with a macro:
EnvironmentEvents in Macro Explorer. (For details, see here.)EnvironmentEvents module.Put in this code:
Public Sub CloseDocsOnExit() Handles SolutionEvents.BeforeClosing
DTE.ExecuteCommand("Window.CloseAllDocuments")
End Sub