Visual Studio dotnet command line tools wrong version
<p>I'm having an issue where the dotnet command line tools are the wrong version. I just uninstalled and reinstalled the latest .NET Core Tools from <a href="https://www.microsoft.com/net/core#windows" rel="nofollow noreferrer">https://www.microsoft.com/net/core#windows</a></p>

<p>Then I opened up VS2015 (Update 3), and clicked on Help -> About Microsoft Visual Studio. There I can see the correct version of .NET Core tools:</p>

<pre><code>Microsoft .NET Core Tools (Preview 2) 14.1.20624.0
</code></pre>

<p>However, when I go to Tools -> NuGet Package Manager -> Package Manager Console and type in </p>

<pre><code>dotnet --version
</code></pre>

<p>I get this:</p>

<pre><code>1.0.0-preview1-002702
</code></pre>

<p>This is wrong. This should be 1.0.0-preview2-00300* (something).</p>

<p>This is a major issue because none of my nuget package restores work now. I get a ton of "Package Microsoft.Aspnetcore.Mvc1.0.0 does not support framework .NETCoreApp, Version=v1.0" type of errors, as seen here: <a href="https://stackoverflow.com/questions/38706261/package-microsoft-aspnetcore-mvc1-0-0-does-not-support-framework-netcoreapp-ve">Package Microsoft.Aspnetcore.Mvc1.0.0 does not support framework .NETCoreApp, Version=v1.0</a></p>

<p>What is going on? How can I make the Package Manager Console recognize that the .NET Core tools is version Preview 2, not Preview 1?</p>