title: VS2010 Update Nuget package to a specific version, but also update dll References in projects
body: <p>For example my solution uses Nuget package "foo" with version "1.2.30".
  I want to Update "foo" package for all my solution projects to version "1.2.25", for example.
  I can't do it through Visual Studio Nuget addon, because if I right click on solution -> Manage packages -> Updates, Nuget won't propose me to update to the version that I want. Nuget will propose only the latest version.</p>
  
  <p>So, I'm using workaround like this:</p>
  
  <blockquote>
    <ol>
    <li>Manually change "packages.config" files for all projects that use this package from "1.2.30" to "1.2.25" package version.</li>
    <li>Right click on solution and Restore packages (Nuget will download "foo" v1.2.25).</li>
    <li>After that I need to update References in all projects that use this package, because they still reference "1.2.30".  So I open every
    project "References", Remove the "foo" dll reference(v1.2.30) and then
    click Add and add dll reference "foo"(v1.2.25).</li>
    </ol>
  </blockquote>
  
  <p><strong>Questions:</strong></p>
  
  <blockquote>
    <ol>
    <li>Nuget VS2010 addon is so awesome, why doesn't it have "update to specific version" option <em>in Visual Studio 2010</em>?</li>
    <li>Is there any other easier steps to do what I want ?</li>
    </ol>
  </blockquote>
  
  <p>Thanks a lot, that's really bugging me.</p>
  
  <p>==========<strong>ANSWER:</strong>==========</p>
  
  <p>You can use Package Manager Console(Tools -> Nuget Package Manager -> Package Manager Console) in Visual Studio to command Nuget what to do via console. 
  It is much more flexible than "Manage Nuget packages".</p>
  
  <p>Examples:
  Update package "foo" only for project "MyProject":</p>
  
  <blockquote>
    <p>Update-Package -Id foo -Version 1.2.25 -ProjectName MyProject -IncludePrerelease</p>
  </blockquote>
  
  <p>Update package "foo" for all projects in solution:</p>
  
  <blockquote>
    <p>Update-Package -Id foo -Version 1.2.25 -IncludePrerelease</p>
  </blockquote>
  
  <p>Full help can be found here:</p>
  
  <blockquote>
    <p><a href="http://docs.nuget.org/docs/reference/package-manager-console-powershell-reference" rel="nofollow">http://docs.nuget.org/docs/reference/package-manager-console-powershell-reference</a></p>
  </blockquote>