0

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?

killika
  • 72
  • 7
  • I don't see a point to keep this question here, when You have found answer at other question on SO and answered it yourself there. Clearly a duplicate and should be closed/deleted. – Tatranskymedved Mar 19 '18 at 10:17

1 Answers1

0

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.

killika
  • 72
  • 7