title: How to resolve "Install-Package : The current environment doesn't have a solution open."
body: <p>I have a solution having 1 project.
  Open Package Manager Console, run Install-Package MSBuildTasks 
  But it gave me an error below:</p>
  
  <pre><code>Install-Package : The current environment doesn't have a solution open.
  At line:1 char:16
  + Install-Package &lt;&lt;&lt;&lt;  MSBuildTasks 
      + CategoryInfo          : InvalidOperation: (:) [Install-Package], InvalidOperationExcep 
     tion
      + FullyQualifiedErrorId : NuGetNoActiveSolution,NuGet.PowerShell.Commands.InstallPackage 
     Command
  </code></pre>
  
  <p>I don't understand why it comes. Kindly suggest me waiting for reply. Thanks</p>