After opening a solution programmatically with EnvDTE.DTE.Solution.Open there is no entry in VS at File->Recent Projects and Solutions or at the StartPage under "Recent".
Is possible to add the opened solution programmatically to the recent list?
After opening a solution programmatically with EnvDTE.DTE.Solution.Open there is no entry in VS at File->Recent Projects and Solutions or at the StartPage under "Recent".
Is possible to add the opened solution programmatically to the recent list?
Jason Malinowski gave the right answer in this post open solution & add to MRU.
Get the service with (IVsSolution)ServiceProvider.GlobalProvider.GetService(typeof(SVsSolution))
and use OpenSolutionFile
.