Thursday, December 25, 2014

Solution to error on "kpm restore": Unable to locate [package]

When I tried to run "kmp restore" on a vNext project I got these error messages like in the picture below:
Unable to locate [package]


The solution is to create a Nuget.config file that contains the package source for vNext at the root of your solution

<packageSources> 
 <add key="AspNetVNext" value="https://www.myget.org/F/aspnetvnext/" /> 
 <add key="NuGet.org" value="https://nuget.org/api/v2/" /></packageSources>

Sunday, March 16, 2014