title: How can I get the current Projects & Solutions directory from the settings in VS 2017 and load solution using SDK?
body: <p>I've built a custom tool window extension for VS 2017. Everything works except for 2 things:</p>
  
  <p>I need to get the "Projects location" from Tools/Options/Projects and Solutions/Locations.</p>
  
  <p>I also need to tell the current instance of VS to load a solution or project.</p>
  
  <p>I have been searching for days on the VS SDK, and haven't been able to come up with much.  I got this far:</p>
  
  <pre><code>ShellSettingsManager sm = new ShellSettingsManager();
  </code></pre>
  
  <p>But that needs one of two interfaces as a parameter, IVsSettingsManager or IServiceProvider.</p>
  
  <p>I implement the interface and of course, it creates the methods, all coded with NotImplemented exceptions.</p>
  
  <p>So since I'm totally clueless here, I hope someone can point me in the right direction, if not just outright show me how to do it.</p>